Skip to content

Commit 56c6d4d

Browse files
committed
chore: qa fixes
1 parent 670a2a1 commit 56c6d4d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lib/BracketingNonlinearSolve/src/alefeld.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function CommonSolve.solve(prob::IntervalNonlinearProblem, alg::Alefeld, args...
129129
end
130130
fc = f(c)
131131

132-
# Reuturn solution when run out of max interation
132+
# Return solution when run out of max iteration
133133
return SciMLBase.build_solution(
134134
prob, alg, c, fc; retcode = ReturnCode.MaxIters, left = a, right = b)
135135
end

lib/BracketingNonlinearSolve/src/brent.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function CommonSolve.solve(prob::IntervalNonlinearProblem, alg::Brent, args...;
6969

7070
fs = f(s)
7171
if abs((right - left) / 2) < abstol
72-
return SciMLBase.build_solution(prob, alg, s, fs;
73-
retcode = ReturnCode.Success, left, right)
72+
return SciMLBase.build_solution(
73+
prob, alg, s, fs; retcode = ReturnCode.Success, left, right)
7474
end
7575

7676
if iszero(fs)

lib/BracketingNonlinearSolve/src/ridder.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ function CommonSolve.solve(prob::IntervalNonlinearProblem, alg::Ridder, args...;
8080

8181
return SciMLBase.build_solution(
8282
prob, alg, left, fl; retcode = ReturnCode.MaxIters, left, right)
83-
end
83+
end
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)