Mercurial > octave
changeset 23090:8cb4a2c07bce stable
doc: Fix '##' in middle of docstring/comment lines (bug #50145).50145).50145).50145).50145).
* warning_ids.m, xor.m, pqpnonneg.m: Remove '##' from middle of
docstring/comment lines.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 25 Jan 2017 16:08:52 -0800 |
parents | b19287c4e74a |
children | bc601e5137c5 46b914a213db |
files | scripts/help/warning_ids.m scripts/miscellaneous/xor.m scripts/optimization/pqpnonneg.m |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/help/warning_ids.m Wed Jan 25 16:04:38 2017 -0800 +++ b/scripts/help/warning_ids.m Wed Jan 25 16:08:52 2017 -0800 @@ -295,7 +295,7 @@ ## If the @code{Octave:resize-on-range-error} warning is enabled, print a ## warning when a matrix is resized by an indexed assignment with ## indices outside the current bounds. -## By default, the ## @code{Octave:resize-on-range-error} warning is disabled. +## By default, the @code{Octave:resize-on-range-error} warning is disabled. ## ## @item Octave:separator-insert ## Print warning if commas or semicolons might be inserted
--- a/scripts/miscellaneous/xor.m Wed Jan 25 16:04:38 2017 -0800 +++ b/scripts/miscellaneous/xor.m Wed Jan 25 16:08:52 2017 -0800 @@ -60,7 +60,7 @@ z = __xor__ (x, y); ## Slow expansion to multiple arguments. - ## Probably okay number of elements ## will be small. + ## Probably okay number of elements will be small. if (! isempty (varargin)) for i = 1:numel (varargin) z = __xor__ (z, varargin{i});
--- a/scripts/optimization/pqpnonneg.m Wed Jan 25 16:04:38 2017 -0800 +++ b/scripts/optimization/pqpnonneg.m Wed Jan 25 16:08:52 2017 -0800 @@ -27,7 +27,7 @@ ## @deftypefnx {} {[@var{x}, @var{minval}, @var{exitflag}, @var{output}, @var{lambda}] =} pqpnonneg (@dots{}) ## Minimize @code{1/2*x'*c*x + d'*x} subject to @code{@var{x} >= 0}. ## -## @var{c} ## and @var{d} must be real, and @var{c} must be symmetric and +## @var{c} and @var{d} must be real, and @var{c} must be symmetric and ## positive definite. ## ## @var{x0} is an optional initial guess for @var{x}.