Skip to content

Commit c3686c4

Browse files
authored
Use const for suite (#739)
1 parent ff2493f commit c3686c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/bench_qr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using BenchmarkTools
44
using LinearAlgebra
55
using StaticArrays
66

7-
suite = BenchmarkGroup()
7+
const suite = BenchmarkGroup()
88

99
for K = 1:22
1010
a = rand(SMatrix{K,K,Float64,K*K})

benchmark/benchmarks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# to the top-level group `SUITE` with the `$name` extracted from the file name.
44

55
using BenchmarkTools
6-
SUITE = BenchmarkGroup()
6+
const SUITE = BenchmarkGroup()
77
for file in sort(readdir(@__DIR__))
88
if startswith(file, "bench_") && endswith(file, ".jl")
99
SUITE[chop(file, head = length("bench_"), tail = length(".jl"))] =

0 commit comments

Comments
 (0)