diff options
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r-- | src/theory/quantifiers/first_order_model.cpp | 2 | ||||
-rw-r--r-- | src/theory/quantifiers/rep_set_iterator.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/quantifiers/first_order_model.cpp b/src/theory/quantifiers/first_order_model.cpp index 5d7317cbc..fd616948c 100644 --- a/src/theory/quantifiers/first_order_model.cpp +++ b/src/theory/quantifiers/first_order_model.cpp @@ -168,7 +168,7 @@ void FirstOrderModel::toStream(std::ostream& out){ eq::EqClassIterator eqc_i = eq::EqClassIterator( eqc, &d_equalityEngine ); while( !eqc_i.isFinished() ){ //do not print things that have interpretations in model - if( (*eqc_i).getMetaKind()!=kind::metakind::CONSTANT && !hasInterpretedValue( *eqc_i ) ){ + if( !(*eqc_i).isConst() && !hasInterpretedValue( *eqc_i ) ){ out << "(" << (*eqc_i) << " " << rep << ")" << std::endl; } ++eqc_i; diff --git a/src/theory/quantifiers/rep_set_iterator.cpp b/src/theory/quantifiers/rep_set_iterator.cpp index 9c1c4c89e..7461f3477 100644 --- a/src/theory/quantifiers/rep_set_iterator.cpp +++ b/src/theory/quantifiers/rep_set_iterator.cpp @@ -380,7 +380,7 @@ Node RepSetEvaluator::evaluateTerm( Node n, int& depIndex ){ //if not set already, rewrite and consult model for interpretation if( !setVal ){ val = Rewriter::rewrite( val ); - if( val.getMetaKind()!=kind::metakind::CONSTANT ){ + if( !val.isConst() ){ //FIXME: we cannot do this until we trust all theories collectModelInfo! //val = d_model->getInterpretedValue( val ); //val = d_model->getRepresentative( val ); |