summaryrefslogtreecommitdiffstats
path: root/src/bool/kit/kitTruth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bool/kit/kitTruth.c')
-rw-r--r--src/bool/kit/kitTruth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bool/kit/kitTruth.c b/src/bool/kit/kitTruth.c
index bd8bbb1c..258207c2 100644
--- a/src/bool/kit/kitTruth.c
+++ b/src/bool/kit/kitTruth.c
@@ -1685,7 +1685,7 @@ unsigned Kit_TruthSemiCanonicize( unsigned * pInOut, unsigned * pAux, int nVars,
// canonicize phase
for ( i = 0; i < nVars; i++ )
{
- if ( pStore[2*i+0] <= pStore[2*i+1] )
+ if ( pStore[2*i+0] >= pStore[2*i+1] )
continue;
uCanonPhase |= (1 << i);
Temp = pStore[2*i+0];
@@ -1703,7 +1703,7 @@ unsigned Kit_TruthSemiCanonicize( unsigned * pInOut, unsigned * pAux, int nVars,
fChange = 0;
for ( i = 0; i < nVars-1; i++ )
{
- if ( pStore[2*i] <= pStore[2*(i+1)] )
+ if ( pStore[2*i] >= pStore[2*(i+1)] )
continue;
Counter++;
fChange = 1;