Commit bef084bd by Alan Mishchenko

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

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