diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-01-22 14:53:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 14:53:37 -0600 |
commit | 2c12b0b23f0d3e745e679d76d18ede9d8bbf6d3a (patch) | |
tree | 3885b5e14531ce0ef9f703e37e919735c9b22d98 /src/theory/quantifiers/sygus/sygus_pbe.cpp | |
parent | a3bcd08dad775e676947f85236b95fbdfc1f6127 (diff) |
Fix check for subtypes in sygus PBE (#3640)
Diffstat (limited to 'src/theory/quantifiers/sygus/sygus_pbe.cpp')
-rw-r--r-- | src/theory/quantifiers/sygus/sygus_pbe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_pbe.cpp b/src/theory/quantifiers/sygus/sygus_pbe.cpp index 0fa857c91..5468a1e6a 100644 --- a/src/theory/quantifiers/sygus/sygus_pbe.cpp +++ b/src/theory/quantifiers/sygus/sygus_pbe.cpp @@ -420,7 +420,7 @@ Node SygusPbe::addSearchVal(TypeNode tn, Node e, Node bvr) d_sygus_unif[ee].clearExampleCache(e, bvr); } } - Assert(ret.getType() == bvr.getType()); + Assert(ret.getType().isComparableTo(bvr.getType())); return ret; } return Node::null(); |