3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-07 09:42:14 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-12-02 12:05:06 -08:00
parent 7eab26e3ef
commit 331507c4cd
2 changed files with 12 additions and 7 deletions

View file

@ -425,7 +425,7 @@ namespace euf {
// not marked as shared.
for (auto const& p : euf::enode_th_vars(n))
if (fid2solver(p.get_id())->is_shared(p.get_var())) {
if (fid2solver(p.get_id()) && fid2solver(p.get_id())->is_shared(p.get_var())) {
n->set_is_shared(l_true);
return true;
}
@ -436,7 +436,7 @@ namespace euf {
bool solver::is_beta_redex(enode* p, enode* n) const {
for (auto const& th : enode_th_vars(p))
if (fid2solver(th.get_id())->is_beta_redex(p, n))
if (fid2solver(th.get_id()) && fid2solver(th.get_id())->is_beta_redex(p, n))
return true;
return false;
}