From da61616d843b1379355e05073c3b45fbd2877da3 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 9 Oct 2012 11:59:30 -0700 Subject: Bug fix in &gla (incorrect reporting of proved timeframes). --- src/proof/abs/absGla.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/proof/abs/absGla.c') diff --git a/src/proof/abs/absGla.c b/src/proof/abs/absGla.c index b8aeca76..ac0f2b22 100644 --- a/src/proof/abs/absGla.c +++ b/src/proof/abs/absGla.c @@ -1786,7 +1786,7 @@ int Gia_ManPerformGla( Gia_Man_t * pAig, Abs_Par_t * pPars ) char Command[1000]; Abc_FrameSetStatus( -1 ); Abc_FrameSetCex( NULL ); - Abc_FrameSetNFrames( f+1 ); + Abc_FrameSetNFrames( f ); sprintf( Command, "write_status %s", Extra_FileNameGenericAppend((char *)(p->pPars->pFileVabs ? p->pPars->pFileVabs : "glabs.aig"), ".status")); Cmd_CommandExecute( Abc_FrameGetGlobalFrame(), Command ); Ga2_GlaDumpAbsracted( p, pPars->fVerbose ); @@ -1847,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 - 1; + p->pPars->iFrame = p->pPars->iFrameProved; } else { -- cgit v1.2.3