Ref JuliaOpt/JuMP.jl#711
One-sided comparisons parse as :call expressions in Julia 0.5. JuMP follows the new syntax on 0.5 for expressions returned through the MPB interface.
Before:
julia> dump(:(x <= 1))
Expr
head: Symbol comparison
args: Array(Any,(3,))
1: Symbol x
2: Symbol <=
3: Int64 1
typ: Any
After:
julia> dump(:(x <= 1))
Expr
head: Symbol call
args: Array(Any,(3,))
1: Symbol <=
2: Symbol x
3: Int64 1
typ: Any
Ref JuliaOpt/JuMP.jl#711 One-sided comparisons parse as
:call
expressions in Julia 0.5. JuMP follows the new syntax on 0.5 for expressions returned through the MPB interface.Before:
After: