Skip to content

Commit

Permalink
📝 Mention returned value
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Dec 14, 2018
1 parent e1eb900 commit c9e9335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/aff_expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ end
aff::AbstractJuMPScalar)
Fills the vectors terms at indices starting at `offset+1` with the affine terms
of `aff`. The output index for all terms is `oi`.
of `aff`. The output index for all terms is `oi`. Return the index of the last
term added.
"""
function _fill_vaf!(terms::Vector{<:MOI.VectorAffineTerm}, offset::Int, oi::Int,
aff::AbstractJuMPScalar)
Expand Down
3 changes: 2 additions & 1 deletion src/quad_expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ end
quad::AbstractJuMPScalar)
Fills the vectors terms at indices starting at `offset+1` with the quadratic
terms of `quad`. The output index for all terms is `oi`.
terms of `quad`. The output index for all terms is `oi`. Return the index of the
last term added.
"""
function _fill_vqf!(terms::Vector{<:MOI.VectorQuadraticTerm}, offset::Int,
oi::Int, aff::AbstractJuMPScalar)
Expand Down

0 comments on commit c9e9335

Please sign in to comment.