Minor fix
authorajreynol <andrew.j.reynolds@gmail.com>
Mon, 28 Sep 2015 12:57:59 +0000 (14:57 +0200)
committerajreynol <andrew.j.reynolds@gmail.com>
Mon, 28 Sep 2015 12:57:59 +0000 (14:57 +0200)
src/theory/strings/theory_strings.cpp

index 4a1001a0477e160232d8ef71a11f52ec0d18fb1e..a66eeffc3a2c13e8dde5539db919b257040ba1d6 100644 (file)
@@ -1207,6 +1207,7 @@ bool TheoryStrings::processLoop(std::vector< Node > &antec,
   return true;
 }
 Node TheoryStrings::mkSkolemSplit( Node a, Node b, const char * c, int isLenSplit ){
+  //return mkSkolemS( c, isLenSplit );
   std::map< int, Node >::iterator it = d_skolem_cache[a][b].find( isLenSplit );
   if( it==d_skolem_cache[a][b].end() ){
     Node sk = mkSkolemS( c, isLenSplit );
@@ -1215,6 +1216,7 @@ Node TheoryStrings::mkSkolemSplit( Node a, Node b, const char * c, int isLenSpli
   }else{
     return it->second;
   }
+
 }
 
 bool TheoryStrings::processNEqc(std::vector< std::vector< Node > > &normal_forms,
@@ -3328,13 +3330,14 @@ bool TheoryStrings::checkExtendedFuncsEval() {
           }
         }else{
           if( !areEqual( n, nrc ) ){
-            expl = mkExplain( exp );
             if( n.getType().isBoolean() ){
               exp.push_back( nrc==d_true ? n.negate() : n );
+              //exp.push_back( n );
               conc = d_false;
             }else{
               conc = n.eqNode( nrc );
             }
+            expl = mkExplain( exp );
           }
         }
         if( !conc.isNull() ){