From b2d88e4773fb8830a8c73156cea8a8c043b334d4 Mon Sep 17 00:00:00 2001 From: Vincent Tang Date: Mon, 20 May 2024 23:52:03 +0000 Subject: [PATCH] #8579: fix SFPU failures (also related to #8618 #8619) --- tests/tt_metal/test_utils/packing.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tt_metal/test_utils/packing.hpp b/tests/tt_metal/test_utils/packing.hpp index 66a32330f54..6d6c2a2e586 100644 --- a/tests/tt_metal/test_utils/packing.hpp +++ b/tests/tt_metal/test_utils/packing.hpp @@ -43,7 +43,7 @@ std::vector pack_vector(const std::vector& values) { unsigned int index = 0; std::for_each(results.begin(), results.end(), [&](PackType& result) { for (unsigned j = 0; j < num_values_to_pack; j++) { - result |= values[index].to_packed() << (index * ValueType::SIZEOF * CHAR_BIT); + result |= values[index].to_packed() << (j * ValueType::SIZEOF * CHAR_BIT); index++; } return result;