Skip to content

Commit

Permalink
Minor fix to docstring of SetMapBridge (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat authored Aug 13, 2023
1 parent 6467269 commit 5aa69ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Bridges/Constraint/set_map.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
Consider two type of sets, `S1` and `S2`, and a linear mapping `A` such that
the image of a set of type `S1` under `A` is a set of type `S2`.
A `SetMapBridge{T,S2,S1,F,G}` is a bridge that maps `G`-in-`S2` constraints
into `F`-in-`S1` by mapping the function through `A`.
A `SetMapBridge{T,S2,S1,F,G}` is a bridge that maps `G`-in-`S1` constraints
into `F`-in-`S2` by mapping the function through `A`.
The linear map `A` is described by;
Expand Down
2 changes: 1 addition & 1 deletion src/functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function term_pair end

# VariableIndex is defined in indextypes.jl

constant(f::VariableIndex, ::Type{T}) where {T} = zero(T)
constant(::VariableIndex, ::Type{T}) where {T} = zero(T)

Base.copy(x::VariableIndex) = x

Expand Down

0 comments on commit 5aa69ba

Please sign in to comment.