summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_invariance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers/sygus/sygus_invariance.cpp')
-rw-r--r--src/theory/quantifiers/sygus/sygus_invariance.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_invariance.cpp b/src/theory/quantifiers/sygus/sygus_invariance.cpp
index 9d20e1c3c..388234ec2 100644
--- a/src/theory/quantifiers/sygus/sygus_invariance.cpp
+++ b/src/theory/quantifiers/sygus/sygus_invariance.cpp
@@ -92,13 +92,16 @@ void EquivSygusInvarianceTest::init(
// compute the current examples
d_bvr = bvr;
Assert(tds != nullptr);
- ExampleEvalCache* eec = aconj->getExampleEvalCache(e);
- if (eec != nullptr)
+ if (aconj != nullptr)
{
- // get the result of evaluating bvr on the examples of enumerator e.
- eec->evaluateVec(bvr, d_exo, false);
- d_conj = aconj;
- d_enum = e;
+ ExampleEvalCache* eec = aconj->getExampleEvalCache(e);
+ if (eec != nullptr)
+ {
+ // get the result of evaluating bvr on the examples of enumerator e.
+ eec->evaluateVec(bvr, d_exo, false);
+ d_conj = aconj;
+ d_enum = e;
+ }
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback