summaryrefslogtreecommitdiffstats
path: root/src/opt/nwk/nwkSpeedup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt/nwk/nwkSpeedup.c')
-rw-r--r--src/opt/nwk/nwkSpeedup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opt/nwk/nwkSpeedup.c b/src/opt/nwk/nwkSpeedup.c
index 335d50f8..c8bd675a 100644
--- a/src/opt/nwk/nwkSpeedup.c
+++ b/src/opt/nwk/nwkSpeedup.c
@@ -46,7 +46,7 @@ int Aig_ManSpeedupNode_rec( Aig_Man_t * pAig, Aig_Obj_t * pNode, Vec_Ptr_t * vNo
{
if ( Aig_ObjIsTravIdCurrent(pAig, pNode) )
return 1;
- if ( Aig_ObjIsPi(pNode) )
+ if ( Aig_ObjIsCi(pNode) )
return 0;
assert( Aig_ObjIsNode(pNode) );
Aig_ObjSetTravIdCurrent( pAig, pNode );