Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Added missing bit shift operation for joint_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-tanvir-1211 committed Mar 28, 2024
1 parent eff2458 commit 3607c2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/blas_test.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ void set_to_zero_last_nbits(T &val, int32_t nbits = 13) {
std::conditional_t<sizeof(T) == 64, int64_t,
int32_t>;
integer_t *int_pntr = reinterpret_cast<integer_t *>(&val);
*int_pntr = (*int_pntr >> nbits) << nbits;
}

/**
Expand Down

0 comments on commit 3607c2f

Please sign in to comment.