Skip to content

Commit 47c0a60

Browse files
parenthesis
1 parent dde3347 commit 47c0a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function numerical_nlsolve(f, u0, p)
387387
prob = NonlinearProblem{false}(f, u0, p)
388388
sol = solve(prob, NewtonRaphson())
389389
rc = sol.retcode
390-
rc == :DEFAULT || rc == :Default || nlsolve_failure(rc)
390+
(rc == :DEFAULT || rc == :Default) || nlsolve_failure(rc)
391391
# TODO: robust initial guess, better debugging info, and residual check
392392
sol.u
393393
end

0 commit comments

Comments
 (0)