diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-31 00:52:08 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-31 00:52:08 -0700 |
commit | e63c603e926d85040503d6a6caf73419d1837bae (patch) | |
tree | 1c8a2ab30de7a51e0969bc40f2fd2fe27618e2f5 | |
parent | a49ba2d2806f96121f1fdd5c37ff2f6e369b9762 (diff) | |
download | abc-e63c603e926d85040503d6a6caf73419d1837bae.tar.gz abc-e63c603e926d85040503d6a6caf73419d1837bae.tar.bz2 abc-e63c603e926d85040503d6a6caf73419d1837bae.zip |
Fixing assert which failes when SAT solver returns after a timeout.
-rw-r--r-- | src/aig/gia/giaAbsGla2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aig/gia/giaAbsGla2.c b/src/aig/gia/giaAbsGla2.c index dd349162..de516ee2 100644 --- a/src/aig/gia/giaAbsGla2.c +++ b/src/aig/gia/giaAbsGla2.c @@ -1593,6 +1593,8 @@ int Ga2_ManPerform( Gia_Man_t * pAig, Gia_ParVta_t * pPars ) // run SAT solver clk2 = clock(); Status = sat_solver2_solve( p->pSat, &Lit, &Lit+1, (ABC_INT64_T)pPars->nConfLimit, (ABC_INT64_T)0, (ABC_INT64_T)0, (ABC_INT64_T)0 ); + if ( Status == l_Undef ) + goto finish; assert( Status == l_False ); p->timeUnsat += clock() - clk2; |