summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-04-15 03:02:50 -0500
committerGitHub <noreply@github.com>2020-04-15 01:02:50 -0700
commit94f8bafb38ccf380ace36259026a3b0959d13636 (patch)
tree808cf338bfbafe0ce98ee2e4f6889a308293a20a
parent3f3a0445fe772360d8a2da3069a5f082c031d7f8 (diff)
Fix assertion in enumerative instantiation (#4313)
Fixes regress1.
-rw-r--r--src/theory/quantifiers/inst_strategy_enumerative.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/inst_strategy_enumerative.cpp b/src/theory/quantifiers/inst_strategy_enumerative.cpp
index 81ade68fc..6c17746ef 100644
--- a/src/theory/quantifiers/inst_strategy_enumerative.cpp
+++ b/src/theory/quantifiers/inst_strategy_enumerative.cpp
@@ -313,7 +313,8 @@ bool InstStrategyEnum::process(Node f, bool fullEffort, bool isRd)
<< " " << term_db_list[ftypes[i]][childIndex[i]]
<< std::endl;
}
- Assert(terms[i].getType().isComparableTo(ftypes[i]));
+ Assert(terms[i].isNull()
+ || terms[i].getType().isComparableTo(ftypes[i]));
}
if (ie->addInstantiation(f, terms))
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback