-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
sum doesn't work as expected on variables #1215
Comments
This is more of a feature request than a bug report, but yes, it would be nice if this worked. |
The issue is due to this line: |
I have opened an issue on Julia Base JuliaLang/julia#26709 |
Fixed by JuliaLang/julia#28089 once JuMP works on 1.0. |
Illustrated with an example:
The last line should give me the same thing as e.g.
[x[1,1] + x[1,2]; x[2,1] + x[2,2]]
but throws an error instead. Let me know if there's another issue I missed about this or if this is somehow by design. Thanks!The text was updated successfully, but these errors were encountered: