Commit b1aabead by Alan Mishchenko

Bug fix in &satfx.

parent cd4807ea
...@@ -553,9 +553,9 @@ int Bmc_FxSolve( sat_solver * pSat, int iOut, int iAuxVar, Vec_Int_t * vVars, in ...@@ -553,9 +553,9 @@ int Bmc_FxSolve( sat_solver * pSat, int iOut, int iAuxVar, Vec_Int_t * vVars, in
assert( iVar >= 0 && iVar < Vec_IntSize(vVars) ); assert( iVar >= 0 && iVar < Vec_IntSize(vVars) );
//printf( "%s%d ", Abc_LitIsCompl(pFinal[i]) ? "+":"-", iVar ); //printf( "%s%d ", Abc_LitIsCompl(pFinal[i]) ? "+":"-", iVar );
if ( fDumpPla ) if ( fDumpPla )
Vec_StrWriteEntry( vCube, iVar, (char)(Abc_LitIsCompl(pFinal[i]) ? '0' : '1') ); Vec_StrWriteEntry( vCube, iVar, (char)(!Abc_LitIsCompl(pFinal[i]) ? '0' : '1') );
if ( vLevel ) if ( vLevel )
Vec_IntPush( vLevel, Abc_Var2Lit(iVar, Abc_LitIsCompl(pFinal[i])) ); Vec_IntPush( vLevel, Abc_Var2Lit(iVar, !Abc_LitIsCompl(pFinal[i])) );
} }
if ( vCubes ) if ( vCubes )
Vec_IntSort( vLevel, 0 ); Vec_IntSort( vLevel, 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment