diff --git a/test/blas_test.hpp b/test/blas_test.hpp index 6c31a4db0..0eee0fc17 100644 --- a/test/blas_test.hpp +++ b/test/blas_test.hpp @@ -242,6 +242,7 @@ void set_to_zero_last_nbits(T &val, int32_t nbits = 13) { std::conditional_t; integer_t *int_pntr = reinterpret_cast(&val); + *int_pntr = (*int_pntr >> nbits) << nbits; } /**