Local variable name
in @mtkmodel
leaks into ODESystem
constructor
#3059
Labels
bug
Something isn't working
name
in @mtkmodel
leaks into ODESystem
constructor
#3059
Describe the bug 🐞
I looked at the output of the
@mtkmodel
macro and tried to determine whether it is possible to provide a "default" name by defining a variablename
inside. It didn't work, well that's not a problem. However, I noticed that it does, in fact, work if you then provide another name manually.Expected behavior
DefaultNameModel(name=:bar)
should be called:bar
, regardless of if there exists a variablename
inside.Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: