Mercurial > octave
diff scripts/optimization/pqpnonneg.m @ 21751:b571fc85953f
maint: Use two spaces after period to indicate sentence break.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 19 May 2016 18:48:52 -0700 |
parents | 3be6a07e8bad |
children | bac0d6f07a3e |
line wrap: on
line diff
--- a/scripts/optimization/pqpnonneg.m Thu May 19 19:42:57 2016 -0400 +++ b/scripts/optimization/pqpnonneg.m Thu May 19 18:48:52 2016 -0700 @@ -171,7 +171,7 @@ "a non-unique solution may be returned due to equal gradients"); idx = idx(1); endif - ## move the index from Z to P. Keep P sorted. + ## move the index from Z to P. Keep P sorted. z = [1:n]; z(p) = []; zidx = z(idx); jdx = 1 + lookup (p, zidx);