Resetting the random seed in 'sparsify'.

This commit is contained in:
Alan Mishchenko 2014-09-11 18:50:15 -07:00
parent 7171812ff1
commit ae7e286213
1 changed files with 1 additions and 0 deletions

View File

@ -655,6 +655,7 @@ Abc_Ntk_t * Abc_NtkSparsifyInternal( Abc_Ntk_t * pNtk, int nPerc, int fVerbose )
// onset/offset
for ( c = 0; c < 2; c++ )
{
Cudd_Srandom( 0 );
Abc_NtkDupObj( pNtkNew, pDriver, 0 );
Abc_ObjForEachFanin( pDriver, pFanin, k )
Abc_ObjAddFanin( pDriver->pCopy, pFanin->pCopy );