Skip to content

Commit

Permalink
Minor changes to nonnegative_bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Aug 18, 2019
1 parent 3cdb405 commit dcaccf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/nonnegative_bridge.jl
Expand Up @@ -46,8 +46,8 @@ function MOI.supports_constraint(::Type{NonnegativeBridge{T}},
return true
end

function MOIB.added_constrained_variable_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
return []
function MOIB.added_constrained_variable_types(::Type{<:NonnegativeBridge})
return Tuple{DataType}[]
end
function MOIB.added_constraint_types(::Type{NonnegativeBridge{T, F}}) where {T, F}
return [(F, MOI.GreaterThan{T})]
Expand Down

0 comments on commit dcaccf1

Please sign in to comment.