diff options
author | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-08 12:22:06 +0000 |
---|---|---|
committer | Clark Barrett <barrett@cs.nyu.edu> | 2012-11-08 12:22:06 +0000 |
commit | 93a162548e1df0102936deae560b873b7f143bf4 (patch) | |
tree | d51d7b24498743ac15ffe1eecabe7bb1a0ceb17d /src/theory/arrays | |
parent | 8115182a602848ee7d233b0e4f197289be4fef3c (diff) |
Fixed two small bugs in model generation
Diffstat (limited to 'src/theory/arrays')
-rw-r--r-- | src/theory/arrays/theory_arrays.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp index c0777f79f..f66f3f7a4 100644 --- a/src/theory/arrays/theory_arrays.cpp +++ b/src/theory/arrays/theory_arrays.cpp @@ -684,6 +684,7 @@ void TheoryArrays::collectModelInfo( TheoryModel* m, bool fullModel ){ TNode n = arrays[i]; // Compute default value for this array - there is one default value for every mayEqual equivalence class + d_mayEqualEqualityEngine.addTerm(n); // add the term in case it isn't there already TNode mayRep = d_mayEqualEqualityEngine.getRepresentative(n); it = defValues.find(mayRep); // If this mayEqual EC doesn't have a default value associated, get the next available default value for the associated array element type |