@@ -156,7 +156,7 @@ Return the list of `VariableNode` that would be added if `BT` is used in `b`.
156
156
"""
157
157
function _variable_nodes (
158
158
@nospecialize (b:: LazyBridgeOptimizer ),
159
- @nospecialize (BT:: Type{<:AbstractBridge} ),
159
+ @nospecialize (BT),
160
160
)
161
161
return map (added_constrained_variable_types (BT)) do (S,)
162
162
return node (b, S):: VariableNode
@@ -170,7 +170,7 @@ Return the list of `ConstraintNode` that would be added if `BT` is used in `b`.
170
170
"""
171
171
function _constraint_nodes (
172
172
@nospecialize (b:: LazyBridgeOptimizer ),
173
- @nospecialize (BT:: Type{<:AbstractBridge} ),
173
+ @nospecialize (BT),
174
174
)
175
175
return ConstraintNode[
176
176
node (b, F, S) for (F, S) in added_constraint_types (BT)
251
251
252
252
Return the `VariableNode` associated with set `S` in `b`.
253
253
"""
254
- function node (b:: LazyBridgeOptimizer , S:: Type{<:MOI.AbstractSet} )
254
+ function node (
255
+ @nospecialize (b:: LazyBridgeOptimizer ),
256
+ @nospecialize (S:: Type{<:MOI.AbstractSet} ),
257
+ )
255
258
# If we support the set, the node is 0.
256
259
if (
257
260
S <: MOI.AbstractScalarSet &&
400
403
Enable the use of the bridges of type `BT` by `b`.
401
404
"""
402
405
function add_bridge (
403
- @nospecialize (b:: LazyBridgeOptimizer ),
406
+ @nospecialize (b:: LazyBridgeOptimizer ),
404
407
@nospecialize (BT:: Type{<:AbstractBridge} ),
405
408
)
406
409
if ! has_bridge (b, BT)
0 commit comments