Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot provide default value for array parameter #2810

Closed
baggepinnen opened this issue Jun 18, 2024 · 0 comments · Fixed by #2830
Closed

Cannot provide default value for array parameter #2810

baggepinnen opened this issue Jun 18, 2024 · 0 comments · Fixed by #2830
Assignees
Labels
bug Something isn't working

Comments

@baggepinnen
Copy link
Contributor

julia> @mtkmodel Baz begin
           @parameters begin
               n[1:3] = [0, 0, 1]
           end
       end
ERROR: Cannot parse default [0, 0, 1] Expr
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] parse_default(mod::Module, a::Expr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants