diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-11 13:10:31 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-09-11 13:10:31 -0700 |
commit | 66b1d4de54b10bf459fe36a4688001d64cdf51e6 (patch) | |
tree | 3f6dc0f1b78648bdcb705211c2f2b182f446d27a /src/base/abci | |
parent | 299099a443f4a908cd8281b08181de79f655bdab (diff) | |
download | abc-66b1d4de54b10bf459fe36a4688001d64cdf51e6.tar.gz abc-66b1d4de54b10bf459fe36a4688001d64cdf51e6.tar.bz2 abc-66b1d4de54b10bf459fe36a4688001d64cdf51e6.zip |
Small performance bug in new 'fx'.
Diffstat (limited to 'src/base/abci')
-rw-r--r-- | src/base/abci/abcFx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |