Skip to content

Commit ac1213a

Browse files
tmigotamontoison
authored andcommitted
Fix objcons! for NLS models
1 parent 54c393a commit ac1213a

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
@@ -473,7 +473,7 @@ function objcons!(
473473
Fx::AbstractVector;
474474
recompute::Bool = true,
475475
)
476-
cons_nln!(nls, x, c)
476+
cons!(nls, x, c)
477477
return obj(nls, x, Fx; recompute = recompute), c
478478
end
479479

0 commit comments

Comments
 (0)