Corner-case bug fixed in CNF generation.

This commit is contained in:
Alan Mishchenko 2017-12-28 13:32:02 -08:00
parent feebac4156
commit c3dccf3020
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ Cnf_Dat_t * Mf_ManDeriveCnf( Mf_Man_t * p, int fCnfObjIds, int fAddOrCla )
{
pCnf->pClauses[iCla++] = pCnf->pClauses[0] + iLit;
pCnf->pClauses[0][iLit++] = Abc_Var2Lit(pCnfIds[Id], !fComplLast);
assert( pCnf->vMapping == NULL ); // bug fix does not handle generated mapping
continue;
}
for ( k = 0; k < Mf_CutSize(pCut); k++ )