Skip to content

Commit 8e7b6b9

Browse files
authored
Update spectralnorm-fast.jl
1 parent c07b6a1 commit 8e7b6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectralnorm/spectralnorm-fast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function perf_spectralnorm(n::Int=100)
4545
AtAu!(w, v, u)
4646
AtAu!(w, u, v)
4747
end
48-
@inbounds @simd for i = 1:n
48+
for i = 1:n
4949
vBv += u[i]*v[i]
5050
vv += v[i]*v[i]
5151
end

0 commit comments

Comments
 (0)