Skip to content

Commit

Permalink
fix #7024
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 29, 2023
1 parent d469c10 commit 41a3196
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/math/lp/nla_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ namespace nla {

scoped_anum& solver::tmp2() {
SASSERT(use_nra_model());
return m_core->m_nra.tmp1();
return m_core->m_nra.tmp2();
}


Expand Down
2 changes: 1 addition & 1 deletion src/sat/smt/arith_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ namespace arith {
theory_var v = (i + start) % sz;
if (is_bool(v))
continue;
if (!ctx.is_shared(var2enode(v)) && !include_func_interp(var2enode(v)))
if (!ctx.is_shared(var2enode(v)))
continue;
ensure_column(v);
if (!is_registered_var(v))
Expand Down
2 changes: 1 addition & 1 deletion src/smt/theory_lra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ class theory_lra::imp {
for (theory_var i = 0; i < sz; ++i) {
theory_var v = (i + start) % sz;
enode* n1 = get_enode(v);
if (!th.is_relevant_and_shared(n1) && !include_func_interp(n1))
if (!th.is_relevant_and_shared(n1))
continue;
ensure_column(v);
if (!is_registered_var(v))
Expand Down

0 comments on commit 41a3196

Please sign in to comment.