summaryrefslogtreecommitdiff
path: root/src/theory/theory_state.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-11 16:01:11 -0500
committerGitHub <noreply@github.com>2020-09-11 16:01:11 -0500
commitb7bbe9a3bc30f41d1775a187ccc732aaeb41eaa1 (patch)
tree8f4d23e04f93aef397c2adafe2e671e2907671ce /src/theory/theory_state.cpp
parent2b7a0168bddfd2b840171aa8b9681f16d606c0b8 (diff)
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.
Diffstat (limited to 'src/theory/theory_state.cpp')
-rw-r--r--src/theory/theory_state.cpp2
1 files changed, 2 insertions, 0 deletions
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback