mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 05:43:39 +00:00
fix #1288, again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
22fa108ffd
commit
06d75a616f
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ tbv* tbv_manager::allocate(tbv const& bv) {
|
||||||
}
|
}
|
||||||
tbv* tbv_manager::allocate(uint64 val) {
|
tbv* tbv_manager::allocate(uint64 val) {
|
||||||
tbv* v = allocate0();
|
tbv* v = allocate0();
|
||||||
for (unsigned bit = std::min(63u, num_tbits()); bit-- > 0;) {
|
for (unsigned bit = std::min(64u, num_tbits()); bit-- > 0;) {
|
||||||
if (val & (1ULL << bit)) {
|
if (val & (1ULL << bit)) {
|
||||||
set(*v, bit, BIT_1);
|
set(*v, bit, BIT_1);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue