Bug fix in &cone (not able to extract the last PO).

This commit is contained in:
Alan Mishchenko 2015-01-22 13:13:30 -08:00
parent cf83242458
commit 674622a3c0
1 changed files with 1 additions and 1 deletions

View File

@ -35080,7 +35080,7 @@ int Abc_CommandAbc9Cone( Abc_Frame_t * pAbc, int argc, char ** argv )
Abc_FrameUpdateGia( pAbc, pTemp );
return 0;
}
if ( iOutNum < 0 || iOutNum + nOutRange >= Gia_ManPoNum(pAbc->pGia) )
if ( iOutNum < 0 || iOutNum + nOutRange > Gia_ManPoNum(pAbc->pGia) )
{
Abc_Print( -1, "Abc_CommandAbc9Cone(): Range of outputs to extract is incorrect.\n" );
return 1;