Skip to content

Commit dc2916d

Browse files
arnavk23tmigot
andauthored
Update src/Meta/chainwoo.jl
Co-authored-by: Tangi Migot <[email protected]>
1 parent 49f682e commit dc2916d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Meta/chainwoo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ get_chainwoo_nlin(; n::Integer = default_nvar, kwargs...) = 0
2323
get_chainwoo_nnln(; n::Integer = default_nvar, kwargs...) = 0
2424
get_chainwoo_nequ(; n::Integer = default_nvar, kwargs...) = 0
2525
get_chainwoo_nineq(; n::Integer = default_nvar, kwargs...) = 0
26-
get_chainwoo_nls_nequ(; n::Integer = default_nvar, kwargs...) = 12 * max(1, div(n, 4)) - 5
26+
get_chainwoo_nls_nequ(; n::Integer = default_nvar, kwargs...) = 1 + 6 * (div(n, 2) - 1)

0 commit comments

Comments
 (0)