From ca93730781ac2a6559e16a6203786073b1cbd514 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 5 Sep 2016 23:54:44 +0300 Subject: Experimental code for polynomial construction. --- src/proof/acec/acecCo.c | 2 +- src/proof/acec/acecPo.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/proof') diff --git a/src/proof/acec/acecCo.c b/src/proof/acec/acecCo.c index a82bd1e2..14eecc9c 100644 --- a/src/proof/acec/acecCo.c +++ b/src/proof/acec/acecCo.c @@ -93,7 +93,7 @@ Vec_Int_t * Gia_PolynCoreOrder( Gia_Man_t * pGia, Vec_Int_t * vAdds, Vec_Int_t * Vec_Int_t * vRoots = Vec_IntAlloc( 5 * Gia_ManCoNum(pGia) ); Vec_Int_t * vLeaves = Vec_IntAlloc( 2 * Gia_ManCiNum(pGia) ); Vec_Wec_t * vMap = Vec_WecStart( Gia_ManObjNum(pGia) ); - int i, k, Index, Driver, Entry1, Entry2; + int i, k, Index, Driver, Entry1, Entry2 = -1; // nodes driven by adders into adder indexes for ( i = 0; 5*i < Vec_IntSize(vAdds); i++ ) { diff --git a/src/proof/acec/acecPo.c b/src/proof/acec/acecPo.c index 96e40405..1e77ab20 100644 --- a/src/proof/acec/acecPo.c +++ b/src/proof/acec/acecPo.c @@ -339,7 +339,6 @@ Vec_Wec_t * Gia_PolynBuildNew2( Gia_Man_t * pGia, Vec_Int_t * vRootLits, Vec_Int // complement leave nodes Vec_IntForEachEntry( vLeaves, iObj, i ) { - Gia_Obj_t * pObj = Gia_ManObj( pGia, iObj ); int iLits[2] = { Abc_Var2Lit(iObj, 0), Abc_Var2Lit(iObj, 1) }; // add inverter Vec_Int_t * vArray = Vec_WecEntry( vLit2Mono, iLits[1] ); -- cgit v1.2.3