summaryrefslogtreecommitdiffstats
path: root/src/aig/dar/darBalance.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-04-03 20:01:00 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2008-04-03 20:01:00 -0700
commit69b5bcad56f9352eea80d3e9b5e1322782522059 (patch)
tree9381d7ce208e93fc82efc5606bcd59ec1dbed765 /src/aig/dar/darBalance.c
parent087951655efdc20b5b4beb64b15edf86a27850a8 (diff)
downloadabc-69b5bcad56f9352eea80d3e9b5e1322782522059.tar.gz
abc-69b5bcad56f9352eea80d3e9b5e1322782522059.tar.bz2
abc-69b5bcad56f9352eea80d3e9b5e1322782522059.zip
Version abc80403_2
Diffstat (limited to 'src/aig/dar/darBalance.c')
-rw-r--r--src/aig/dar/darBalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aig/dar/darBalance.c b/src/aig/dar/darBalance.c
index 6e78041a..574c72d9 100644
--- a/src/aig/dar/darBalance.c
+++ b/src/aig/dar/darBalance.c
@@ -187,7 +187,7 @@ void Dar_BalancePermute( Aig_Man_t * p, Vec_Ptr_t * vSuper, int LeftBound, int f
// get the two last nodes
pObj1 = Vec_PtrEntry( vSuper, RightBound + 1 );
pObj2 = Vec_PtrEntry( vSuper, RightBound );
- if ( Aig_Regular(pObj1) == p->pConst1 || Aig_Regular(pObj2) == p->pConst1 )
+ if ( Aig_Regular(pObj1) == p->pConst1 || Aig_Regular(pObj2) == p->pConst1 || Aig_Regular(pObj1) == Aig_Regular(pObj2) )
return;
// find the first node that can be shared
for ( i = RightBound; i >= LeftBound; i-- )