summaryrefslogtreecommitdiffstats
path: root/src/proof/pdr/pdrCnf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proof/pdr/pdrCnf.c')
-rw-r--r--src/proof/pdr/pdrCnf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proof/pdr/pdrCnf.c b/src/proof/pdr/pdrCnf.c
index fcad15e0..2b039c01 100644
--- a/src/proof/pdr/pdrCnf.c
+++ b/src/proof/pdr/pdrCnf.c
@@ -202,7 +202,7 @@ static inline int Pdr_ObjRegNum2( Pdr_Man_t * p, int k, int iSatVar )
return -1;
pObj = Aig_ManObj( p->pAig, ObjId );
if ( Saig_ObjIsLi( p->pAig, pObj ) )
- return Aig_ObjPioNum(pObj)-Saig_ManPoNum(p->pAig);
+ return Aig_ObjCioId(pObj)-Saig_ManPoNum(p->pAig);
assert( 0 ); // should be called for register inputs only
return -1;
}