projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83adf1d
)
Added debugging output to --check-models. I've found this output quite useful while...
author
Tim King
<taking@cs.nyu.edu>
Wed, 21 Nov 2012 18:31:55 +0000
(18:31 +0000)
committer
Tim King
<taking@cs.nyu.edu>
Wed, 21 Nov 2012 18:31:55 +0000
(18:31 +0000)
src/theory/model.cpp
patch
|
blob
|
history
diff --git
a/src/theory/model.cpp
b/src/theory/model.cpp
index 33f482f8e11d181aec2150463465a888b261cc21..8dacf86e93597ddc161ffb46a576b12c2428c553 100644
(file)
--- a/
src/theory/model.cpp
+++ b/
src/theory/model.cpp
@@
-707,6
+707,14
@@
void TheoryEngineModelBuilder::buildModel(Model* m, bool fullModel)
eq::EqClassIterator eqc_i = eq::EqClassIterator(eqc, &tm->d_equalityEngine);
for ( ; !eqc_i.isFinished(); ++eqc_i) {
Node n = *eqc_i;
+ static int repCheckInstance = 0;
+ ++repCheckInstance;
+
+ Debug("check-model::rep-checking")
+ << "( " << repCheckInstance <<") "
+ << "n: " << n << endl
+ << "getValue(n): " << tm->getValue(n) << endl
+ << "rep: " << rep << endl;
Assert(tm->getValue(*eqc_i) == rep);
}
}