We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93bac79 commit 2899f8bCopy full SHA for 2899f8b
src/RegressionTests.jl
@@ -353,11 +353,13 @@ function try_runbenchmarks(;
353
# Note literal equality is fine because we use a stable sort and the order is random
354
355
# Make regressions
356
- occurrences = zeros(Int, length(static_metadatas))
+ static_metatdata_length = only(unique(length.(static_metadatas)))
357
+ occurrences = zeros(Int, static_metatdata_length)
358
+
359
for m in original_runtime_metadata
360
m > 0 && (occurrences[m] += 1)
361
end
- counts = zeros(Int, length(static_metadatas))
362
+ counts = zeros(Int, static_metatdata_length)
363
changes = Change[]
364
datas_i = 0
365
skip = 0
0 commit comments