Bug fix in setting the number of finished frames when reading a status file.

This commit is contained in:
Alan Mishchenko 2011-02-11 13:57:57 -08:00
parent 78aed3f6d5
commit bef084bd9b
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void Abc_NtkWriteLogFile( char * pFileName, Abc_Cex_t * pCex, int Status, int nF
printf( "Abc_NtkWriteLogFile(): Cannot recognize solving status.\n" );
fprintf( pFile, " " );
// write <cyc>
fprintf( pFile, "%d", pCex ? pCex->iFrame + 1 : nFrames );
fprintf( pFile, "%d", pCex ? pCex->iFrame : nFrames );
fprintf( pFile, " " );
// write <engine_name>
fprintf( pFile, "%s", pCommand ? pCommand : "unknown" );