Skip to content

Commit 8b25204

Browse files
Handle spelling change
1 parent 67b2dab commit 8b25204

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelingToolkit"
22
uuid = "961ee093-0014-501f-94e3-6117800e7a78"
33
authors = ["Yingbo Ma <[email protected]>", "Chris Rackauckas <[email protected]> and contributors"]
4-
version = "8.28.1"
4+
version = "8.28.2"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

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 || 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)