From b882f64fa51df4738e63ea36e0d3fdbf82158e91 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 9 Oct 2012 11:48:28 -0700 Subject: [PATCH] Bug fix in &gla (incorrect reporting of proved timeframes). --- src/proof/abs/absGla.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/proof/abs/absGla.c b/src/proof/abs/absGla.c index ae498315f..b8aeca766 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 {