We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afec458 commit 2bc623eCopy full SHA for 2bc623e
sorts/GrailSort.opal
@@ -564,7 +564,7 @@ namespace GrailSort {
564
this.currBlockOrigin = this.grailGetSubarray(array, firstKey, medianKey);
565
566
for keyIndex = 1; keyIndex < blockCount; keyIndex++, nextBlock += blockLen {
567
- new int currBlock = nextBlock - this.currBlockLen, nextBlockOrigin;
+ new dynamic currBlock = nextBlock - this.currBlockLen, nextBlockOrigin;
568
nextBlockOrigin = this.grailGetSubarray(array, firstKey + keyIndex, medianKey);
569
570
if nextBlockOrigin == this.currBlockOrigin {
0 commit comments