diff options
Diffstat (limited to 'tests/gc/gcbench.nim')
-rw-r--r-- | tests/gc/gcbench.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc/gcbench.nim b/tests/gc/gcbench.nim index 72337911d..782daf793 100644 --- a/tests/gc/gcbench.nim +++ b/tests/gc/gcbench.nim @@ -143,7 +143,7 @@ proc main() = # Create long-lived array, filling half of it echo(" Creating a long-lived array of " & $kArraySize & " doubles") newSeq(myarray, kArraySize) - for i in 0..kArraySize div 2 -1: + for i in 0..kArraySize div 2 - 1: myarray[i] = 1.0 / toFloat(i) PrintDiagnostics() |