summaryrefslogtreecommitdiffstats
path: root/src/base/pla
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2015-07-11 19:30:52 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2015-07-11 19:30:52 -0700
commit0d09071f141cf1a7d48493c66e329f00dbfe5e91 (patch)
treed810b02b0dd96e4f180b67044ae68fc397624b3e /src/base/pla
parentb949436f4c99157397e16b23c3693fb5a99bd557 (diff)
downloadabc-0d09071f141cf1a7d48493c66e329f00dbfe5e91.tar.gz
abc-0d09071f141cf1a7d48493c66e329f00dbfe5e91.tar.bz2
abc-0d09071f141cf1a7d48493c66e329f00dbfe5e91.zip
Adding new Python API 'is_func_iso2'.
Diffstat (limited to 'src/base/pla')
-rw-r--r--src/base/pla/plaFxch.c4
-rw-r--r--src/base/pla/plaHash.c2
-rw-r--r--src/base/pla/plaSimple.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/base/pla/plaFxch.c b/src/base/pla/plaFxch.c
index fd06b9a5..6534edbb 100644
--- a/src/base/pla/plaFxch.c
+++ b/src/base/pla/plaFxch.c
@@ -99,7 +99,7 @@ void Fxch_ManWriteBlif( char * pFileName, Vec_Wec_t * vCubes, Vec_Wrd_t * vDivs
printf( "Cannot open file \"%s\" for writing.\n", pFileName );
else
{
- char * pLits = "-01?";
+ //char * pLits = "-01?";
Vec_Str_t * vStr;
Vec_Int_t * vCube;
int i, k, Lit;
@@ -617,7 +617,7 @@ void Fxch_ManCreateDivisors( Fxch_Man_t * p )
void Fxch_ManUpdate( Fxch_Man_t * p, int iDiv )
{
Vec_Int_t * vCube1, * vCube2, * vLitP, * vLitN;
- int nLitsNew = p->nLits - (int)Vec_FltEntry(&p->vWeights, iDiv);
+ //int nLitsNew = p->nLits - (int)Vec_FltEntry(&p->vWeights, iDiv);
int i, Lit0, Lit1, hCube1, hCube2, iVarNew;
//float Diff = Vec_FltEntry(&p->vWeights, iDiv) - (float)((int)Vec_FltEntry(&p->vWeights, iDiv));
//assert( Diff > 0.0 && Diff < 1.0 );
diff --git a/src/base/pla/plaHash.c b/src/base/pla/plaHash.c
index b51ba4c1..33f2fba3 100644
--- a/src/base/pla/plaHash.c
+++ b/src/base/pla/plaHash.c
@@ -272,7 +272,7 @@ Vec_Int_t * Pla_ManComputeDistance1Int( Pla_Man_t * p )
Vec_Int_t * vCounts = Vec_IntStart( Vec_WecSize(&p->vCubeLits) );
Vec_Int_t * vEntries = Vec_IntAlloc( p->nIns );
int nBits = Abc_Base2Log( Vec_WecSizeSize(&p->vCubeLits) ) + 2;
- int v, i, k, Count = 0;
+ int v, i, k;//, Count = 0;
int iCube1, iCube2, iVar1, iVar2;
assert( nBits <= 26 );
pTab = Tab_ManAlloc( nBits, p );
diff --git a/src/base/pla/plaSimple.c b/src/base/pla/plaSimple.c
index 8fea5c1f..80254ba1 100644
--- a/src/base/pla/plaSimple.c
+++ b/src/base/pla/plaSimple.c
@@ -50,7 +50,7 @@ void Pla_ManDumpPla( Pla_Man_t * p, char * pFileName )
printf( "Cannot open file \"%s\" for writing.\n", pFileName );
else
{
- char * pLits = "-01?";
+ //char * pLits = "-01?";
Vec_Str_t * vStr;
Vec_Int_t * vCube;
int i, k, Lit;
@@ -89,7 +89,7 @@ void Pla_ManDumpBlif( Pla_Man_t * p, char * pFileName )
printf( "Cannot open file \"%s\" for writing.\n", pFileName );
else
{
- char * pLits = "-01?";
+ //char * pLits = "-01?";
Vec_Str_t * vStr;
Vec_Int_t * vCube;
int i, k, Lit, Div;