Skip to content

Commit 9992a73

Browse files
blegatmlubin
authored andcommitted
Remove duplicate 'is' in docstring (#311)
1 parent 6a51dfc commit 9992a73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/functions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ end
7979
The scalar-valued quadratic function ``\\frac{1}{2}x^TQx + a^T x + b``, where:
8080
* ``a`` is a sparse vector specified in tuple form by `affine_variables, affine_coefficients`
8181
* ``b`` is a scalar specified by `constant`
82-
* ``Q`` is a symmetric matrix is specified in triplet form by `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients`
82+
* ``Q`` is a symmetric matrix specified in triplet form by `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients`
8383
8484
Duplicate indices in ``a`` or ``Q`` are accepted, and the corresponding coefficients are summed together.
8585
"Mirrored" indices `(q,r)` and `(r,q)` (where `r` and `q` are `VariableIndex`es) are considered duplicates; only one need be specified.
@@ -100,7 +100,7 @@ end
100100
The vector-valued quadratic function with i`th` component ("output index") defined as ``\\frac{1}{2}x^TQ_ix + a_i^T x + b_i``, where:
101101
* ``a_i`` is a sparse vector specified in tuple form by the subset of `affine_variables, affine_coefficients` for the indices `k` where `affine_outputindex[k] == i`.
102102
* ``b_i`` is a scalar specified by `constant[i]`
103-
* ``Q_i`` is a symmetric matrix is specified in triplet form by the subset of `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` for the indices `k` where `quadratic_outputindex[k] == i`
103+
* ``Q_i`` is a symmetric matrix specified in triplet form by the subset of `quadratic_rowvariables, quadratic_colvariables, quadratic_coefficients` for the indices `k` where `quadratic_outputindex[k] == i`
104104
105105
Duplicate indices in ``a_i`` or ``Q_i`` are accepted, and the corresponding coefficients are summed together.
106106
"Mirrored" indices `(q,r)` and `(r,q)` (where `r` and `q` are `VariableIndex`es) are considered duplicates; only one need be specified.

0 commit comments

Comments
 (0)