From 191098eb82b53cf4dc0fd233aafbbc00bf9fa12f Mon Sep 17 00:00:00 2001 From: Muhammad Tanvir Date: Thu, 28 Mar 2024 14:12:41 +0000 Subject: [PATCH] Added missing bit shift operation for joint_matrix --- test/blas_test.hpp | 1 + 1 file changed, 1 insertion(+) 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; } /**