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;