From 537bb89c664375aa0fe0143e65d255de34bd611c Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Fri, 20 Mar 2020 15:36:35 -0500 Subject: [PATCH] Fix sort comparison within assertion in cegis (#4113) --- src/theory/quantifiers/sygus/cegis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/quantifiers/sygus/cegis.cpp b/src/theory/quantifiers/sygus/cegis.cpp index 57fe40517..dfef0bad4 100644 --- a/src/theory/quantifiers/sygus/cegis.cpp +++ b/src/theory/quantifiers/sygus/cegis.cpp @@ -599,7 +599,7 @@ bool Cegis::checkRefinementEvalLemmas(const std::vector& vs, for (unsigned j = 0, psize = vsProc.size(); j < psize; j++) { evalVisited[vsProc[j]] = msProc[j]; - Assert(vsProc[j].getType() == msProc[j].getType()); + Assert(vsProc[j].getType().isComparableTo(msProc[j].getType())); } } } -- 2.30.2