You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of 9.79.1, the change of behaviour of generate_control_function has not been documented.
Expected behavior
From #3269, the generated function from generate_control_function expect MTKParameters if split=false is not passed as argument. Passing p as a Vector{Float64} results in some strange undefined behaviour.
The documentation does not reflect this behaviour. Moreover, the example given luckily works with a Vector{Float64}.
The documentation should be updated and a maybe an explicit check should be done to throws an error if a Vector{Float64} is passed when splithas not been set to false.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug 🐞
As of 9.79.1, the change of behaviour of
generate_control_function
has not been documented.Expected behavior
From #3269, the generated function from
generate_control_function
expectMTKParameters
ifsplit=false
is not passed as argument. Passingp
as aVector{Float64}
results in some strange undefined behaviour.The documentation does not reflect this behaviour. Moreover, the example given luckily works with a
Vector{Float64}
.The documentation should be updated and a maybe an explicit check should be done to throws an error if a
Vector{Float64}
is passed whensplit
has not been set tofalse
.The text was updated successfully, but these errors were encountered: