Commit 5d74635f by Alan Mishchenko

Restoring correct behavior of 'tempor' after a change in counting BMC frames in 'bmc2'.

parent 7b913231
...@@ -230,7 +230,7 @@ Aig_Man_t * Saig_ManTempor( Aig_Man_t * pAig, int nFrames, int TimeOut, int nCon ...@@ -230,7 +230,7 @@ Aig_Man_t * Saig_ManTempor( Aig_Man_t * pAig, int nFrames, int TimeOut, int nCon
printf( "A cex found in the first %d frames.\n", nFrames ); printf( "A cex found in the first %d frames.\n", nFrames );
return NULL; return NULL;
} }
if ( nFramesFinished < nFrames ) if ( nFramesFinished + 1 < nFrames )
{ {
int iLastBefore = Vec_IntLastNonZeroBeforeLimit( vTransSigs, nFramesFinished ); int iLastBefore = Vec_IntLastNonZeroBeforeLimit( vTransSigs, nFramesFinished );
if ( iLastBefore < 1 || !fUseTransSigs ) if ( iLastBefore < 1 || !fUseTransSigs )
......
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