summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_invariance.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-04-16 19:31:42 -0700
committerGitHub <noreply@github.com>2020-04-16 21:31:42 -0500
commitcc1689c3e40d6faf8de1ed7cd4eaae687adae103 (patch)
tree7a2bed198d6c24db8d3eedfca9037f5453074867 /src/theory/quantifiers/sygus/sygus_invariance.cpp
parent51a6be99deb292161b0469b70b4d8410bd7a975f (diff)
SyGuS instantiation quantifiers module (#3910)
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