Skip to content

Commit 9e49ea1

Browse files
authored
Merge pull request #657 from JuliaOpt/bl/operateT
📝 [ci skip] Specify meaning of T in operate
2 parents f99741a + cf287bf commit 9e49ea1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/Utilities/functions.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ end
570570
args::Union{T, MOI.AbstractFunction}...)::MOI.AbstractFunction where T
571571
572572
Returns an `MOI.AbstractFunction` representing the function resulting from the
573-
operation `op(args...)`. No argument can be modified.
573+
operation `op(args...)` on functions of coefficient type `T`. No argument can be
574+
modified.
574575
"""
575576
function operate end
576577

@@ -579,8 +580,9 @@ function operate end
579580
args::Union{T, MOI.AbstractFunction}...)::MOI.AbstractFunction where T
580581
581582
Returns an `MOI.AbstractFunction` representing the function resulting from the
582-
operation `op(args...)`. The first argument can be modified. The return type
583-
is the same than the method `operate(op, T, args...)` without `!`.
583+
operation `op(args...)` on functions of coefficient type `T`. The first argument
584+
can be modified. The return type is the same than the method
585+
`operate(op, T, args...)` without `!`.
584586
"""
585587
function operate! end
586588

0 commit comments

Comments
 (0)