Commit 8c369788 by Alan Mishchenko

Improvements to the NPN semi-canonical form computation package.

parent 0a9236ad
...@@ -177,7 +177,7 @@ void Abc_TruthNpnPerform( Abc_TtStore_t * p, int NpnType, int fVerbose ) ...@@ -177,7 +177,7 @@ void Abc_TruthNpnPerform( Abc_TtStore_t * p, int NpnType, int fVerbose )
char pCanonPerm[16]; char pCanonPerm[16];
unsigned uCanonPhase=0; unsigned uCanonPhase=0;
clock_t clk = clock(); clock_t clk = clock();
int i, maxCtr=0; int i;
char * pAlgoName = NULL; char * pAlgoName = NULL;
if ( NpnType == 0 ) if ( NpnType == 0 )
......
...@@ -87,7 +87,7 @@ int oneBitPosition(int x, int size) ...@@ -87,7 +87,7 @@ int oneBitPosition(int x, int size)
{ {
int i; int i;
for(i=0;i<size;i++) for(i=0;i<size;i++)
if((x>>i)&1 == 1) if((x>>i)&1)
return i; return i;
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment