Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Sep 28, 2024
1 parent 9539306 commit 4369321
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/proof/cec/cecCorr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,8 +1320,12 @@ Vec_Int_t * Gia_ManFindStopFlops( Gia_Man_t * p, int nFlopIncFreq, int fVerbose
if ( Spot >= 0 && Vec_IntEntry(vAvail, i) == 0 )
Vec_IntPush( vHeads, i );
Vec_IntForEachEntry( vHeads, Spot, i ) {
for ( k = 0, Temp = Spot; Vec_IntEntry(vNexts, Temp) >= 0; k++, Temp = Vec_IntEntry(vNexts, Temp) )
;
Vec_IntFill( vAvail, Gia_ManRegNum(p), 0 );
for ( k = 0, Temp = Spot; Vec_IntEntry(vNexts, Temp) >= 0; k++, Temp = Vec_IntEntry(vNexts, Temp) ) {
if ( Vec_IntEntry(vAvail, Temp) )
break;
Vec_IntWriteEntry( vAvail, Temp, 1 );
}
if ( k > 100 )
{
nItems++;
Expand Down

0 comments on commit 4369321

Please sign in to comment.