summaryrefslogtreecommitdiff
path: root/src/theory/theory_model_builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_model_builder.cpp')
-rw-r--r--src/theory/theory_model_builder.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/theory_model_builder.cpp b/src/theory/theory_model_builder.cpp
index bc63aef97..a83527004 100644
--- a/src/theory/theory_model_builder.cpp
+++ b/src/theory/theory_model_builder.cpp
@@ -1034,7 +1034,7 @@ bool TheoryEngineModelBuilder::buildModel(TheoryModel* tm)
if (!repSet.empty())
{
Trace("model-builder") << "***Non-empty repSet, size = " << repSet.size()
- << ", first = " << *(repSet.begin()) << endl;
+ << ", repSet = " << repSet << endl;
Assert(false);
}
}
@@ -1278,7 +1278,8 @@ void TheoryEngineModelBuilder::assignFunction(TheoryModel* m, Node f)
}
std::stringstream ss;
ss << "_arg_";
- Node val = ufmt.getFunctionValue(ss.str().c_str(), condenseFuncValues);
+ Rewriter* r = condenseFuncValues ? d_env.getRewriter() : nullptr;
+ Node val = ufmt.getFunctionValue(ss.str(), r);
m->assignFunctionDefinition(f, val);
// ufmt.debugPrint( std::cout, m );
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback