File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -1757,13 +1757,19 @@ function MOI.get(
17571757 end
17581758end
17591759
1760- function _get_variable_if_equivalent (b, x)
1760+ function _get_variable_if_equivalent (
1761+ b:: AbstractBridgeOptimizer ,
1762+ x:: VariableIndex ,
1763+ )
17611764 return _get_variable_if_equivalent (bridged_variable_function (b, x), x)
17621765end
17631766
1764- _get_variable_if_equivalent (b , :: Nothing ) = nothing
1767+ _get_variable_if_equivalent (:: AbstractBridgeOptimizer , :: Nothing ) = nothing
17651768
1766- function _get_variable_if_equivalent (f:: MOI.ScalarAffineFunction , x)
1769+ function _get_variable_if_equivalent (
1770+ f:: MOI.ScalarAffineFunction ,
1771+ x:: MOI.VariableIndex ,
1772+ )
17671773 if length (f. terms) == 1
17681774 term = only (f. terms)
17691775 if isone (term. coefficient)
You can’t perform that action at this time.
0 commit comments