Skip to content

Commit 2bc623e

Browse files
committed
small fix
wtf
1 parent afec458 commit 2bc623e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/GrailSort.opal

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ namespace GrailSort {
564564
this.currBlockOrigin = this.grailGetSubarray(array, firstKey, medianKey);
565565

566566
for keyIndex = 1; keyIndex < blockCount; keyIndex++, nextBlock += blockLen {
567-
new int currBlock = nextBlock - this.currBlockLen, nextBlockOrigin;
567+
new dynamic currBlock = nextBlock - this.currBlockLen, nextBlockOrigin;
568568
nextBlockOrigin = this.grailGetSubarray(array, firstKey + keyIndex, medianKey);
569569

570570
if nextBlockOrigin == this.currBlockOrigin {

0 commit comments

Comments
 (0)