diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-25 12:37:19 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-25 12:37:19 -0700 |
commit | b2ad079a2a1c79b8ba31736defc2cdb617f93141 (patch) | |
tree | bfd81b09a952f3646b8157d98eaa42a98d953be3 /src/aig/gia/giaAiger.c | |
parent | 160b196a701ad36c84d9aa3d14e89fa3ff2ba1fe (diff) | |
download | abc-b2ad079a2a1c79b8ba31736defc2cdb617f93141.tar.gz abc-b2ad079a2a1c79b8ba31736defc2cdb617f93141.tar.bz2 abc-b2ad079a2a1c79b8ba31736defc2cdb617f93141.zip |
Allow for skipping structural hashing when reading GIA from file.
Diffstat (limited to 'src/aig/gia/giaAiger.c')
-rw-r--r-- | src/aig/gia/giaAiger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaAiger.c b/src/aig/gia/giaAiger.c index 14cbf913..937648f4 100644 --- a/src/aig/gia/giaAiger.c +++ b/src/aig/gia/giaAiger.c @@ -747,7 +747,7 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fSkipS } // create the AND gates - if ( fSkipStrash ) + if ( !fSkipStrash ) Gia_ManHashAlloc( pNew ); for ( i = 0; i < nAnds; i++ ) { @@ -763,7 +763,7 @@ Gia_Man_t * Gia_ReadAigerFromMemory( char * pContents, int nFileSize, int fSkipS else Vec_IntPush( vNodes, Gia_ManHashAnd(pNew, iNode0, iNode1) ); } - if ( fSkipStrash ) + if ( !fSkipStrash ) Gia_ManHashStop( pNew ); // remember the place where symbols begin |