projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd30c0c
)
Ensure no cost for datatypes debugging when not tracing it.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 9 Sep 2013 18:41:21 +0000
(14:41 -0400)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 9 Sep 2013 21:21:41 +0000
(17:21 -0400)
src/theory/datatypes/theory_datatypes.cpp
patch
|
blob
|
history
diff --git
a/src/theory/datatypes/theory_datatypes.cpp
b/src/theory/datatypes/theory_datatypes.cpp
index cbbee4a1451d8fcbb55441a3319799b6b1e123d7..9dc8c0028bb82095c85bdbc00e8e0a029b971d07 100644
(file)
--- a/
src/theory/datatypes/theory_datatypes.cpp
+++ b/
src/theory/datatypes/theory_datatypes.cpp
@@
-1082,6
+1082,10
@@
Node TheoryDatatypes::getRepresentative( Node a ){
void TheoryDatatypes::printModelDebug( const char* c ){
+ if(! (Trace.isOn(c))) {
+ return;
+ }
+
Trace( c ) << "Datatypes model : " << std::endl;
eq::EqClassesIterator eqcs_i = eq::EqClassesIterator( &d_equalityEngine );
while( !eqcs_i.isFinished() ){