SAT sweeping under constraints (bug fix).

This commit is contained in:
Alan Mishchenko 2013-05-12 10:19:33 -07:00
parent 6610f1c78e
commit 7bcd75d80a
1 changed files with 3 additions and 0 deletions

View File

@ -286,7 +286,10 @@ p->timeSimSat += clock() - clk;
continue;
pRepr = Gia_ObjReprObj(pAig, i);
if ( (int)pObj->Value == Abc_LitNotCond( pRepr->Value, pRepr->fPhase ^ pObj->fPhase ) )
{
Gia_ObjSetProved( pAig, i );
continue;
}
assert( Abc_Lit2Var(pRepr->Value) != Abc_Lit2Var(pObj->Value) );
fCompl = pRepr->fPhase ^ pObj->fPhase ^ Abc_LitIsCompl(pRepr->Value) ^ Abc_LitIsCompl(pObj->Value);