Small performance bug in new 'fx'.

This commit is contained in:
Alan Mishchenko 2013-09-11 13:10:31 -07:00
parent 299099a443
commit 66b1d4de54
1 changed files with 1 additions and 1 deletions

View File

@ -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