summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-08-16 14:59:36 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-08-16 14:59:36 +0700
commit85eee2ea9654904be60b76ec45f4c2d72fbccd86 (patch)
tree4ddebea0ceaba65534e8b113e28d369dd684c3ca
parente6dd7cb5ff969ed54bfef7c9779ed8dba757d18e (diff)
downloadabc-85eee2ea9654904be60b76ec45f4c2d72fbccd86.tar.gz
abc-85eee2ea9654904be60b76ec45f4c2d72fbccd86.tar.bz2
abc-85eee2ea9654904be60b76ec45f4c2d72fbccd86.zip
Bug fix in &bmcs.
-rw-r--r--src/sat/bmc/bmcBmcS.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sat/bmc/bmcBmcS.c b/src/sat/bmc/bmcBmcS.c
index 9dee7ecb..5cb5994a 100644
--- a/src/sat/bmc/bmcBmcS.c
+++ b/src/sat/bmc/bmcBmcS.c
@@ -575,10 +575,15 @@ void Bmcs_ManPrintFrame( Bmcs_Man_t * p, int f, int nClauses, int Solver, abctim
if ( !p->pPars->fVerbose )
return;
Abc_Print( 1, "%4d %s : ", f, fUnfinished ? "-" : "+" );
+#ifdef ABC_USE_EXT_SOLVERS
Abc_Print( 1, "Var =%8.0f. ", (double)solver_varnum(p->pSats[0]) );
Abc_Print( 1, "Cla =%9.0f. ", (double)solver_clausenum(p->pSats[0]) );
Abc_Print( 1, "Learn =%9.0f. ",(double)solver_learntnum(p->pSats[0]) );
Abc_Print( 1, "Conf =%7.0f. ", (double)solver_conflictnum(p->pSats[0]) );
+#else
+ Abc_Print( 1, "Var =%8.0f. ", (double)p->nSatVars );
+ Abc_Print( 1, "Cla =%9.0f. ", (double)nClauses );
+#endif
if ( p->pPars->nProcs > 1 )
Abc_Print( 1, "S = %3d. ", Solver );
Abc_Print( 1, "%4.0f MB", 1.0*((int)Gia_ManMemory(p->pFrames) + Vec_IntMemory(&p->vFr2Sat))/(1<<20) );