diff options
author | Tianyi Liang <tianyi-liang@uiowa.edu> | 2013-09-25 13:00:13 -0500 |
---|---|---|
committer | Tianyi Liang <tianyi-liang@uiowa.edu> | 2013-09-27 09:25:52 -0500 |
commit | fd085ea019e11e8ac3080431d1a46979ee40af4d (patch) | |
tree | 095f37c266dc43285aba3eae132ea685466724d4 /src/theory/arith | |
parent | 89a4d42b358de2d610c64ecbae357efbbcd26ec4 (diff) |
for morgan to see the regression problems
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/theory_arith_private.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index 7e5c01291..63eb301b6 100644 --- a/src/theory/arith/theory_arith_private.cpp +++ b/src/theory/arith/theory_arith_private.cpp @@ -738,6 +738,16 @@ void TheoryArithPrivate::addSharedTerm(TNode n){ } Node TheoryArithPrivate::getModelValue(TNode var) { + /*try{ + DeltaRational drv = getDeltaValue(term); + const Rational& delta = d_partialModel.getDelta(); + Rational qmodel = drv.substituteDelta( delta ); + return mkRationalNode( qmodel ); + } catch (DeltaRationalException& dr) { + return Node::null(); + } catch (ModelException& me) { + return Node::null(); + }*/ //if( d_partialModel.hasNode( var ) ){ if( var.getKind()==kind::STRING_LENGTH ){ Trace("strings-temp") << "Get model value of " << var << std::endl; |