Skip to content

Commit 7cbc3da

Browse files
dpoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 14741bb commit 7cbc3da

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/quasi-newton.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ end
134134
"""
135135
DiagonalBFGSModel(nlp; d0 = fill!(S(undef, nlp.meta.nvar), 1.0))
136136
137-
Construct a `DiagonalAndreiModel` from another type of nlp, in which the Hessian is approximated
138-
via a diagonal Andrei quasi-Newton operator.
137+
Construct a `DiagonalBFGSModel` from another type of nlp, in which the Hessian is approximated
138+
via a diagonal BFGS quasi-Newton operator.
139139
`d0` is the initial approximation of the diagonal of the Hessian, and by default a vector of ones.
140140
See the
141-
[`DiagonalAndrei operator documentation`](https://juliasmoothoptimizers.github.io/LinearOperators.jl/stable/reference/#LinearOperators.DiagonalAndrei).
141+
[`DiagonalBFGS operator documentation`](https://juliasmoothoptimizers.github.io/LinearOperators.jl/stable/reference/#LinearOperators.DiagonalBFGS).
142142
"""
143143
function DiagonalBFGSModel(
144144
nlp::AbstractNLPModel{T, S};

0 commit comments

Comments
 (0)