summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abc/abcFanOrder.c2
-rw-r--r--src/base/abci/abc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base/abc/abcFanOrder.c b/src/base/abc/abcFanOrder.c
index 8e2ed10d..12df7d85 100644
--- a/src/base/abc/abcFanOrder.c
+++ b/src/base/abc/abcFanOrder.c
@@ -550,7 +550,7 @@ static inline int Abc_CubeContain( char * pCube1, char * pCube2, int nVars )
fCont12 = 0;
else
return 0;
- if ( !fCont21 && !fCont21 )
+ if ( !fCont12 && !fCont21 )
return 0;
}
assert( fCont21 || fCont12 );
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 3eafcfb9..43ef2ec7 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -4105,7 +4105,7 @@ int Abc_CommandCleanup( Abc_Frame_t * pAbc, int argc, char ** argv )
}
if ( Abc_NtkIsStrash(pNtk) )
{
- if ( !fCleanupPos && !fCleanupPos )
+ if ( !fCleanupPis && !fCleanupPos )
{
Abc_Print( -1, "Cleanup for PIs and POs is not enabled.\n" );
pNtkRes = Abc_NtkDup( pNtk );