From 66b1d4de54b10bf459fe36a4688001d64cdf51e6 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Wed, 11 Sep 2013 13:10:31 -0700 Subject: Small performance bug in new 'fx'. --- src/base/abci/abcFx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/base/abci/abcFx.c b/src/base/abci/abcFx.c index cf600148..5d887104 100644 --- a/src/base/abci/abcFx.c +++ b/src/base/abci/abcFx.c @@ -948,7 +948,7 @@ void Fx_ManUpdate( Fx_Man_t * p, int iDiv ) // if the input cover is not prime, it may happen that we are extracting divisor (x + !x) // although it is not strictly correct, it seems to be fine to just skip such divisors - if ( Abc_Lit2Var(Lit0) == Abc_Lit2Var(Lit1) ) + if ( Abc_Lit2Var(Lit0) == Abc_Lit2Var(Lit1) && Vec_IntSize(Hsh_VecReadEntry(p->pHash, iDiv)) == 2 ) return; // collect single-cube-divisor cubes -- cgit v1.2.3