From 45073fc996c9b5edbc87cf015c291fdcf720b986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 28 May 2019 13:42:07 +0200 Subject: [PATCH] Specify that first argument of bridge_constraint is concrete --- src/Bridges/bridge.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Bridges/bridge.jl b/src/Bridges/bridge.jl index 5bc541ee3c..506c36ec64 100644 --- a/src/Bridges/bridge.jl +++ b/src/Bridges/bridge.jl @@ -15,7 +15,10 @@ abstract type AbstractBridge end func::AbstractFunction, set::MOI.AbstractSet) Bridge the constraint `func`-in-`set` using bridge `BT` to `model` and returns -a bridge object of type `BT`. +a bridge object of type `BT`. The bridge type `BT` should be a concrete type, +that is, all the type parameters of the bridge should be set. Use +[`concrete_bridge_type`](@ref) to obtain a concrete type for given function +and set types. """ function bridge_constraint end