Skip to content

Commit 4faf2c0

Browse files
committed
fix: fixup
1 parent 8bdcf57 commit 4faf2c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/NonlinearProblemLibrary/src/NonlinearProblemLibrary.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ p6_dict = Dict("n" => n, "start" => x_start, "sol" => x_sol, "title" => "Watson
134134
end
135135

136136
@simd ivdep for i in 1:n
137-
out[i] = out[i] / n + ifelse(i % 2 == 0, 0.0, 1.0 / (i * i - 1))
137+
out[i] = out[i] / n + ifelse(i % 2 == 0, 1.0 / (i * i - 1), 0.0)
138138
end
139139
nothing
140140
end

0 commit comments

Comments
 (0)