Commit 88251e97 by Alan Mishchenko

Minor bug fix in 'testcex' (made it consider outputs in direct order).

parent 34811655
......@@ -1211,7 +1211,8 @@ int Gia_ManFindFailedPoCex( Gia_Man_t * pAig, Abc_Cex_t * p, int nOutputs )
assert( iBit == p->nBits );
// figure out the number of failed output
RetValue = -1;
for ( i = Gia_ManPoNum(pAig) - 1; i >= nOutputs; i-- )
// for ( i = Gia_ManPoNum(pAig) - 1; i >= nOutputs; i-- )
for ( i = nOutputs; i < Gia_ManPoNum(pAig); i++ )
{
if ( Gia_ManPo(pAig, i)->fMark0 )
{
......
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