Skip to content

Commit

Permalink
Unifying random number generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Apr 27, 2023
1 parent b417061 commit cc6834d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proof/cec/cecSatG3.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ static inline void Cec5_ObjSimCi( Gia_Man_t * p, int iObj )
int w;
word * pSim = Cec5_ObjSim( p, iObj );
for ( w = 0; w < p->nSimWords; w++ )
pSim[w] = Gia_ManRandomW( 0 );
pSim[w] = Abc_RandomW( 0 );
pSim[0] <<= 1;
}
static inline void Cec5_ObjClearSimCi( Gia_Man_t * p, int iObj )
Expand Down Expand Up @@ -1902,7 +1902,7 @@ int Cec5_ManPerformSweeping( Gia_Man_t * p, Cec_ParFra_t * pPars, Gia_Man_t ** p
assert( Gia_ObjId(p, pObj) == i+1 );

// check if any output trivially fails under all-0 pattern
Gia_ManRandom( 1 );
Abc_Random( 1 );
Gia_ManSetPhase( p );
if ( pPars->nLevelMax )
Gia_ManLevelNum(p);
Expand Down

0 comments on commit cc6834d

Please sign in to comment.