summaryrefslogtreecommitdiff
path: root/src/theory/model.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-10-08 22:51:08 +0000
committerMorgan Deters <mdeters@gmail.com>2012-10-08 22:51:08 +0000
commite256e63588a867b9ea82e03cfc684c2ea2ca1738 (patch)
tree97583e7952f18934b2751574032b0a48ff8b866c /src/theory/model.cpp
parentffda058e93ac699b1649a87f15418f645bb13312 (diff)
* Models' SubstitutionMaps are now attached to the user context
(rather than SAT context) * Enable part of CVC3 system test (resolves bug 375) * Fix infinite recursion in beta reduction code (resolves bug 417) * Some model-building assertions have been added * Other minor changes (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/theory/model.cpp')
-rw-r--r--src/theory/model.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/model.cpp b/src/theory/model.cpp
index d97781ab7..82d602017 100644
--- a/src/theory/model.cpp
+++ b/src/theory/model.cpp
@@ -514,6 +514,7 @@ void TheoryEngineModelBuilder::buildModel(Model* m, bool fullModel)
Node n;
for (i = noRepSet.begin(); i != noRepSet.end(); ++i) {
n = typeConstSet.nextTypeEnum(t);
+ Assert(!n.isNull(), "out of values for finite type enumeration while building model");
constantReps[*i] = n;
Trace("model-builder") << " New Const: Setting constant rep of " << (*i) << " to " << n << endl;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback