summaryrefslogtreecommitdiffstats
path: root/src/proof/abs
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-10-09 11:59:30 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2012-10-09 11:59:30 -0700
commitda61616d843b1379355e05073c3b45fbd2877da3 (patch)
tree7d3d01c0272aceb8e236ac1af78e4949ee7ccc8c /src/proof/abs
parentb882f64fa51df4738e63ea36e0d3fdbf82158e91 (diff)
downloadabc-da61616d843b1379355e05073c3b45fbd2877da3.tar.gz
abc-da61616d843b1379355e05073c3b45fbd2877da3.tar.bz2
abc-da61616d843b1379355e05073c3b45fbd2877da3.zip
Bug fix in &gla (incorrect reporting of proved timeframes).
Diffstat (limited to 'src/proof/abs')
-rw-r--r--src/proof/abs/absGla.c4
1 files changed, 2 insertions, 2 deletions
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
{