From: ajreynol Date: Wed, 7 Dec 2016 21:26:12 +0000 (-0600) Subject: Add sets regression, fixes bug 754. Minor fix to regexp in strings. X-Git-Tag: cvc5-1.0.0~5946 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=314db5e1c4fdbfca001b1f3a679831d086b25e5c;p=cvc5.git Add sets regression, fixes bug 754. Minor fix to regexp in strings. --- diff --git a/src/theory/quantifiers/bounded_integers.cpp b/src/theory/quantifiers/bounded_integers.cpp index 1112c2ef2..e9ac9b484 100644 --- a/src/theory/quantifiers/bounded_integers.cpp +++ b/src/theory/quantifiers/bounded_integers.cpp @@ -605,7 +605,7 @@ Node BoundedIntegers::getSetRangeValue( Node q, Node v, RepSetIterator * rsi ) { Trace("bound-int-rsi") << "Get value in model for..." << sr << std::endl; sr = d_quantEngine->getModel()->getCurrentModelValue( sr ); Trace("bound-int-rsi") << "Value is " << sr << std::endl; - //map to term model + //as heuristic, map to term model if( sr.getKind()!=EMPTYSET ){ std::map< Node, Node > val_to_term; while( sr.getKind()==UNION ){ diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index db07a0b51..6c4a00541 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -4273,10 +4273,13 @@ void TheoryStrings::checkMemberships() { for( unsigned i=0; i