Skip to content

Commit 2e8734b

Browse files
authored
Merge pull request #82 from gap-packages/mh/fix-priority
Fix priority computation in the C code (changes behavior based on guess work)
2 parents f067d2f + bf49d1e commit 2e8734b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/leon/src/ccent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static UnsignedS nextBasePointEltCent(
8686
for ( pt = 1 ; pt <= degree ; ++pt )
8787
if ( (cSize = cellSize[cellNumber[pt]]) > 1 ) {
8888
if ( longCycleFlag )
89-
priority = 2000000000ul - (unsigned long) MIN(cycleLen[pt],1000) << 20
89+
priority = 2000000000ul - ((unsigned long) MIN(cycleLen[pt],1000) << 20)
9090
+ cSize;
9191
else
9292
if ( cycleLen[pt] == 1 )

0 commit comments

Comments
 (0)