diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-06 11:34:06 +0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-06 11:34:06 +0700 |
commit | 10ad89490a6596dc51e27b6d7ebd0f2f0c606ed8 (patch) | |
tree | 6966b842db8cf7ed2f504d259407043d53cb225e /src/aig/int | |
parent | 26b87c8c557972f4f942b9cb8baaf2f25d5b7b84 (diff) | |
download | abc-10ad89490a6596dc51e27b6d7ebd0f2f0c606ed8.tar.gz abc-10ad89490a6596dc51e27b6d7ebd0f2f0c606ed8.tar.bz2 abc-10ad89490a6596dc51e27b6d7ebd0f2f0c606ed8.zip |
Bug fix related to not properly resizing SAT solver's model array.
Diffstat (limited to 'src/aig/int')
-rw-r--r-- | src/aig/int/intContain.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/aig/int/intContain.c b/src/aig/int/intContain.c index d4af0ae8..77b057a7 100644 --- a/src/aig/int/intContain.c +++ b/src/aig/int/intContain.c @@ -274,7 +274,12 @@ int Inter_ManCheckUniqueness( Aig_Man_t * p, sat_solver * pSat, Cnf_Dat_t * pCnf int Counter; if ( nFrames == 1 ) return 1; - if ( pSat->model.size == 0 ) +// if ( pSat->model.size == 0 ) + + // possible consequences here!!! + assert( 0 ); + + if ( sat_solver_nvars(pSat) == 0 ) return 1; // assert( Saig_ManPoNum(p) == 1 ); assert( Aig_ManRegNum(p) > 0 ); |