distinquish between old and new format as well

This commit is contained in:
Miodrag Milanovic 2022-05-06 15:49:42 +02:00
parent 6234e18df7
commit 09a7e6dac7
1 changed files with 3 additions and 3 deletions

View File

@ -804,10 +804,10 @@ int Abc_NtkReadCexFile( char * pFileName, Abc_Ntk_t * pNtk, Abc_Cex_t ** ppCex,
Abc_NtkForEachPo(pNtk, pObj, i ) nPoNtk++;
if ( nRegs < 0 )
{
if (status == 1)
printf( "ERROR: Cannot read register number.\n" );
else
if (status == 0 || *fOldFormat == 0)
printf( "Counter-example is not available.\n" );
else
printf( "ERROR: Cannot read register number.\n" );
Vec_IntFree( vNums );
return -1;
}