From b7bbe9a3bc30f41d1775a187ccc732aaeb41eaa1 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Fri, 11 Sep 2020 16:01:11 -0500 Subject: Move finite model minimization to UF last call effort (#5050) This moves model minimization happen in TheoryUF's last call effort check instead of being a custom call in quantifiers finite model finding. This is both a better design and avoids bugs when quantifiers are not enabled (for QF_UF+cardinality constraints). Fixes #4850. --- src/theory/theory_state.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/theory/theory_state.cpp') diff --git a/src/theory/theory_state.cpp b/src/theory/theory_state.cpp index f22a652c0..d5f9f4d0b 100644 --- a/src/theory/theory_state.cpp +++ b/src/theory/theory_state.cpp @@ -130,5 +130,7 @@ bool TheoryState::isSatLiteral(TNode lit) const return d_valuation.isSatLiteral(lit); } +TheoryModel* TheoryState::getModel() { return d_valuation.getModel(); } + } // namespace theory } // namespace CVC4 -- cgit v1.2.3