diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-04-15 03:02:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 01:02:50 -0700 |
commit | 94f8bafb38ccf380ace36259026a3b0959d13636 (patch) | |
tree | 808cf338bfbafe0ce98ee2e4f6889a308293a20a /src/theory/quantifiers | |
parent | 3f3a0445fe772360d8a2da3069a5f082c031d7f8 (diff) |
Fix assertion in enumerative instantiation (#4313)
Fixes regress1.
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r-- | src/theory/quantifiers/inst_strategy_enumerative.cpp | 3 |
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)) { |