diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 11:48:28 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-09 11:48:28 -0700 |
commit | b882f64fa51df4738e63ea36e0d3fdbf82158e91 (patch) | |
tree | 1ec9c288701b2059e07783cf4a2fff516bd6eb0f /src/proof/abs | |
parent | 74cc0ad5e6ff9ebdc9da6d4e63b6da8b20e03a06 (diff) | |
download | abc-b882f64fa51df4738e63ea36e0d3fdbf82158e91.tar.gz abc-b882f64fa51df4738e63ea36e0d3fdbf82158e91.tar.bz2 abc-b882f64fa51df4738e63ea36e0d3fdbf82158e91.zip |
Bug fix in &gla (incorrect reporting of proved timeframes).
Diffstat (limited to 'src/proof/abs')
-rw-r--r-- | src/proof/abs/absGla.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proof/abs/absGla.c b/src/proof/abs/absGla.c index ae498315..b8aeca76 100644 --- a/src/proof/abs/absGla.c +++ b/src/proof/abs/absGla.c @@ -1527,6 +1527,7 @@ int Gia_ManPerformGla( Gia_Man_t * pAig, Abs_Par_t * pPars ) clock_t clk2, clk = clock(); int Status = l_Undef, RetValue = -1, iFrameTryToProve = -1, fOneIsSent = 0; int i, c, f, Lit; + pPars->iFrame = -1; // check trivial case assert( Gia_ManPoNum(pAig) == 1 ); ABC_FREE( pAig->pCexSeq ); @@ -1846,7 +1847,7 @@ finish: Abc_Print( 1, "GLA found the ratio of abstracted objects to exceed %d %% in frame %d. ", pPars->nRatioMin, p->pPars->iFrameProved+1 ); else Abc_Print( 1, "GLA finished %d frames and produced a %d-stable abstraction. ", p->pPars->iFrameProved+1, p->pPars->nFramesNoChange ); - p->pPars->iFrame = p->pPars->iFrameProved; + p->pPars->iFrame = p->pPars->iFrameProved - 1; } else { |