Skip to content

Commit b6917fb

Browse files
Fix Runic formatting in bounds_transform.jl
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a75036b commit b6917fb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/NonlinearSolveBase/src/bounds_transform.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,10 @@ SciMLBase.isinplace(w::BoundedWrapper{iip}) where {iip} = iip
103103

104104
# Check if bounds transform is needed for a given problem and algorithm.
105105
function needs_bounds_transform(_prob, alg)
106-
return (_prob isa SciMLBase.NonlinearProblem ||
107-
_prob isa SciMLBase.NonlinearLeastSquaresProblem) &&
106+
return (
107+
_prob isa SciMLBase.NonlinearProblem ||
108+
_prob isa SciMLBase.NonlinearLeastSquaresProblem
109+
) &&
108110
(hasfield(typeof(_prob), :lb) && hasfield(typeof(_prob), :ub)) &&
109111
(_prob.lb !== nothing || _prob.ub !== nothing) &&
110112
(isnothing(alg) || !SciMLBase.allowsbounds(alg))

0 commit comments

Comments
 (0)