We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1922dac commit c23c40cCopy full SHA for c23c40c
src/Utilities/mockoptimizer.jl
@@ -182,7 +182,7 @@ function MOI.add_constraint(
182
if !mock.add_con_allowed
183
throw(MOI.AddConstraintNotAllowed{typeof(func),typeof(set)}())
184
elseif mock.scalar_function_constant_non_zero
185
- MOI.throw_if_scalar_and_constant_not_zero(func, typeof(S))
+ MOI.throw_if_scalar_and_constant_not_zero(func, typeof(set))
186
end
187
ci = MOI.add_constraint(mock.inner_model, xor_indices(func), set)
188
return xor_index(ci)
0 commit comments