summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-04-14 22:02:31 -0500
committerGitHub <noreply@github.com>2020-04-14 22:02:31 -0500
commit0e994acb6fe6b6128d71a1f618fb6e5629118c67 (patch)
tree01400dcf02150a833104e7178e14e23945ebeb5b /src/theory
parent4fb65ae4d0018dc01fe79df8bbf7f3ec0ff583b9 (diff)
Always assign function values in higher order (#4279)
Fixes #4277.
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/theory_model.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/theory_model.cpp b/src/theory/theory_model.cpp
index e96bee410..10e57e794 100644
--- a/src/theory/theory_model.cpp
+++ b/src/theory/theory_model.cpp
@@ -34,6 +34,8 @@ TheoryModel::TheoryModel(context::Context* c,
d_using_model_core(false),
d_enableFuncModels(enableFuncModels)
{
+ // must use function models when ufHo is enabled
+ Assert(d_enableFuncModels || !options::ufHo());
d_true = NodeManager::currentNM()->mkConst( true );
d_false = NodeManager::currentNM()->mkConst( false );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback