@@ -156,7 +156,7 @@ Return the list of `VariableNode` that would be added if `BT` is used in `b`.
156156"""
157157function _variable_nodes (
158158 @nospecialize (b:: LazyBridgeOptimizer ),
159- @nospecialize (BT:: Type{<:AbstractBridge} ),
159+ @nospecialize (BT),
160160)
161161 return map (added_constrained_variable_types (BT)) do (S,)
162162 return node (b, S):: VariableNode
@@ -170,7 +170,7 @@ Return the list of `ConstraintNode` that would be added if `BT` is used in `b`.
170170"""
171171function _constraint_nodes (
172172 @nospecialize (b:: LazyBridgeOptimizer ),
173- @nospecialize (BT:: Type{<:AbstractBridge} ),
173+ @nospecialize (BT),
174174)
175175 return ConstraintNode[
176176 node (b, F, S) for (F, S) in added_constraint_types (BT)
251251
252252Return the `VariableNode` associated with set `S` in `b`.
253253"""
254- function node (b:: LazyBridgeOptimizer , S:: Type{<:MOI.AbstractSet} )
254+ function node (
255+ @nospecialize (b:: LazyBridgeOptimizer ),
256+ @nospecialize (S:: Type{<:MOI.AbstractSet} ),
257+ )
255258 # If we support the set, the node is 0.
256259 if (
257260 S <: MOI.AbstractScalarSet &&
400403Enable the use of the bridges of type `BT` by `b`.
401404"""
402405function add_bridge (
403- @nospecialize (b:: LazyBridgeOptimizer ),
406+ @nospecialize (b:: LazyBridgeOptimizer ),
404407 @nospecialize (BT:: Type{<:AbstractBridge} ),
405408)
406409 if ! has_bridge (b, BT)
0 commit comments