Skip to content

Commit 5aa69ba

Browse files
authored
Minor fix to docstring of SetMapBridge (#2255)
1 parent 6467269 commit 5aa69ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Bridges/Constraint/set_map.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
Consider two type of sets, `S1` and `S2`, and a linear mapping `A` such that
1111
the image of a set of type `S1` under `A` is a set of type `S2`.
1212
13-
A `SetMapBridge{T,S2,S1,F,G}` is a bridge that maps `G`-in-`S2` constraints
14-
into `F`-in-`S1` by mapping the function through `A`.
13+
A `SetMapBridge{T,S2,S1,F,G}` is a bridge that maps `G`-in-`S1` constraints
14+
into `F`-in-`S2` by mapping the function through `A`.
1515
1616
The linear map `A` is described by;
1717

src/functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function term_pair end
6464

6565
# VariableIndex is defined in indextypes.jl
6666

67-
constant(f::VariableIndex, ::Type{T}) where {T} = zero(T)
67+
constant(::VariableIndex, ::Type{T}) where {T} = zero(T)
6868

6969
Base.copy(x::VariableIndex) = x
7070

0 commit comments

Comments
 (0)