diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-08 01:42:14 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-08 01:42:14 -0700 |
commit | 41fa9a1016d27bd6385e5b49969394d75bba99fd (patch) | |
tree | eb54fa446e99e6361cdc15419bc6f1553006d350 /src/misc/extra | |
parent | 094bdc05728d850b25d099d24d20e60784d6d8cf (diff) | |
download | abc-41fa9a1016d27bd6385e5b49969394d75bba99fd.tar.gz abc-41fa9a1016d27bd6385e5b49969394d75bba99fd.tar.bz2 abc-41fa9a1016d27bd6385e5b49969394d75bba99fd.zip |
New command 'testnpn' to compare semi-canonical forms.
Diffstat (limited to 'src/misc/extra')
-rw-r--r-- | src/misc/extra/extra.h | 1 | ||||
-rw-r--r-- | src/misc/extra/extraUtilMisc.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/misc/extra/extra.h b/src/misc/extra/extra.h index 50172691..f198c183 100644 --- a/src/misc/extra/extra.h +++ b/src/misc/extra/extra.h @@ -203,6 +203,7 @@ extern void Extra_BubbleSort( int Order[], int Costs[], int nSize, int fI /* complementation/permutation generation */ extern int * Extra_GreyCodeSchedule( int n ); extern int * Extra_PermSchedule( int n ); +extern word Extra_Truth6Minimum( word t, int * pComp, int * pPerm ); /*=== extraUtilCanon.c ========================================================*/ diff --git a/src/misc/extra/extraUtilMisc.c b/src/misc/extra/extraUtilMisc.c index 729d0c04..e484bcb2 100644 --- a/src/misc/extra/extraUtilMisc.c +++ b/src/misc/extra/extraUtilMisc.c @@ -2283,7 +2283,7 @@ static inline word Extra_Truth6ChangePhase( word t, int v ) assert( v < 6 ); return ((t & ~Truth6[v]) << (1 << v)) | ((t & Truth6[v]) >> (1 << v)); } -static inline word Extra_Truth6Minimum( word t, int * pComp, int * pPerm ) +word Extra_Truth6Minimum( word t, int * pComp, int * pPerm ) { word tMin = ~(word)0; word tCur, tTemp1, tTemp2; |