Skip to content

Commit

Permalink
reorg to use datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Mar 5, 2024
1 parent 48026ed commit 74e73f2
Show file tree
Hide file tree
Showing 6 changed files with 415 additions and 342 deletions.
3 changes: 1 addition & 2 deletions src/ast/sls/bv_sls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ namespace bv {
mdl->register_decl(f, m.mk_bool_val(m_eval.bval0(e)));
else if (bv.is_bv(e)) {
auto const& v = m_eval.wval0(e);
rational n;
v.get_value(v.bits(), n);
rational n = v.get_value();
mdl->register_decl(f, bv.mk_numeral(n, v.bw));
}
}
Expand Down
Loading

0 comments on commit 74e73f2

Please sign in to comment.