-
Notifications
You must be signed in to change notification settings - Fork 16
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
Problem with external constant for the macro @constraint #154
Comments
Oops, that seems to have broken at some point "recently". |
Try without the variable:
|
Here's an alternative: julia> using ModelingToolkit
julia> @variables x y
(x, y)
julia> a = 3
3
julia> C = Separator(x^2 + y^2 < a)
Separator:
- variables: x, y
- expression: x ^ 2 + y ^ 2 == [-∞, 3] |
The alternative works, but is this a bug?
|
That is a detail of For now use |
With the
|
this stopped working on julia 1.9
|
I just tried the example in the document. This is what I get.
The text was updated successfully, but these errors were encountered: