Skip to content

Commit

Permalink
fix #7311
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jul 27, 2024
1 parent 1e6b137 commit 5f6bb3d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/nlsat/nlsat_simplify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ namespace nlsat {
auto& a = *to_ineq_atom(a1);
if (a.size() != 2)
continue;
if (a.is_root_atom())
continue;

auto* p = a.p(0);
auto* q = a.p(1);
Expand Down Expand Up @@ -229,6 +231,10 @@ namespace nlsat {
}
break;
}
default:
SASSERT(a.is_root_atom());
UNREACHABLE();
break;
}
IF_VERBOSE(3,
s.display(verbose_stream(), c) << " ->\n";
Expand Down

0 comments on commit 5f6bb3d

Please sign in to comment.