Skip to content

Commit 40be439

Browse files
committed
Fix
1 parent bd4f3ef commit 40be439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/flopscomp.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ function main(; Ns=[50, 64, 100, 128, 250, 256, 500, 512, 1000, 1024, 2000, 2048
156156
for (res, (_, info_str)) in zip(tmpres,Fs)
157157
flops = tmpres[info_str]
158158
peakf = @sprintf("%.3e", maximum(flops))
159-
if peakf > ylim_upper
160-
ylim_upper = peakf * 1.02
159+
if maximum(flops) > ylim_upper
160+
ylim_upper = maximum(flops) * 1.02
161161
end
162162
plot!(plt, Ns, tmpres[info_str]; linewidth=1.5, label="$(peakf) peak: $info_str")
163163
end

0 commit comments

Comments
 (0)