Bug fix: changing output number to 0 in the CEX after ORing POs.

This commit is contained in:
Alan Mishchenko 2012-01-07 11:19:03 +07:00
parent 10ad89490a
commit 376bf3a703
1 changed files with 3 additions and 0 deletions

View File

@ -5789,6 +5789,9 @@ int Abc_CommandOrPos( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_Print( -1, "ORing the POs has failed.\n" );
return 1;
}
// Bug fix: there is now only one PO. make sure the counterexample points to the right one
if ( pAbc->pCex )
pAbc->pCex->iPo = 0;
// replace the current network
// Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
return 0;