summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_match.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2017-06-15 12:47:43 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2017-06-15 12:47:43 -0500
commit209b08887bc55349880b9ed6d858e23637267dee (patch)
treea26cea8c8c7f00eeb4a5beb9e754a6384a1380be /src/theory/quantifiers/inst_match.cpp
parentfc3f728a4b9939e296e67ec4f30d3f99330d7399 (diff)
Fix for issue related to cbqi + E-matching.
Diffstat (limited to 'src/theory/quantifiers/inst_match.cpp')
-rw-r--r--src/theory/quantifiers/inst_match.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/quantifiers/inst_match.cpp b/src/theory/quantifiers/inst_match.cpp
index 12e15d353..9a3fe379c 100644
--- a/src/theory/quantifiers/inst_match.cpp
+++ b/src/theory/quantifiers/inst_match.cpp
@@ -129,6 +129,7 @@ void InstMatch::setValue( int i, TNode n ) {
}
bool InstMatch::set( QuantifiersEngine* qe, int i, TNode n ) {
+ Assert( i>=0 );
if( !d_vals[i].isNull() ){
if( qe->getEqualityQuery()->areEqual( d_vals[i], n ) ){
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback