Skip to content

Commit 57d7829

Browse files
arnavk23tmigot
andauthored
Update src/nls/api.jl
Co-authored-by: Tangi Migot <[email protected]>
1 parent 58e7df4 commit 57d7829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nls/api.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ end
457457
458458
In-place evaluation of constraints and objective for AbstractNLSModel.
459459
If `Fx` is provided, it is used for the objective; otherwise, the residual is computed.
460-
If `recompute` is `false`, the function assumes that `Fx` already contains the correct residual values and does not recompute them.
460+
If `recompute` is `true`, then `Fx` is updated with the residual at `x`.
461461
"""
462462
function objcons!(nls::AbstractNLSModel{T, S}, x::AbstractVector, c::AbstractVector) where {T, S}
463463
@lencheck nls.meta.nvar x

0 commit comments

Comments
 (0)