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

Added missing bit shift operation for joint_matrix #508

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading