Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Apr 3, 2024
1 parent cfe6349 commit 8108f7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MOI/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2092,6 +2092,7 @@ function _info(
F<:Union{
MOI.ScalarAffineFunction{Float64},
MOI.ScalarQuadraticFunction{Float64},
MOI.ScalarNonlinearFunction,
MOI.VectorAffineFunction{Float64},
MOI.VectorOfVariables,
},
Expand Down Expand Up @@ -2119,7 +2120,7 @@ function MOI.is_valid(
if info === nothing
return false
end
return info.type in _function_enum(F) && typeof(info.set) == S
return info.type in _function_enums(F) && typeof(info.set) == S
end

function MOI.add_constraint(
Expand Down

0 comments on commit 8108f7c

Please sign in to comment.