Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 6, 2018
1 parent 2b9bf9b commit d73fd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.jl
Expand Up @@ -449,7 +449,7 @@ function constraint_macro(args, macro_name::Symbol, parsefun::Function)

# Determine the return type of addconstraint. This is needed for JuMP extensions for which this is different than ConstraintRef
if vectorized
contype = :( AbstractArray{constrainttype($m)} )
contype = :( AbstractArray{constrainttype($m)} ) # TODO use a concrete type instead of AbstractArray, see #525, #1310
else
contype = :( constrainttype($m) )
end
Expand Down

0 comments on commit d73fd8b

Please sign in to comment.