Mercurial > octave-nkf
changeset 20332:26fc9bbb8762
gallery: fix typo on variable name for invhess matrix.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Fri, 03 Jul 2015 16:20:56 +0100 |
parents | 0b9d23557506 |
children | ababbe103048 |
files | scripts/special-matrix/gallery.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/special-matrix/gallery.m Fri Jul 03 16:18:33 2015 +0100 +++ b/scripts/special-matrix/gallery.m Fri Jul 03 16:20:56 2015 +0100 @@ -1398,7 +1398,7 @@ n = x; x = 1:n; elseif (! isscalar (x) && isvector (x)) - n = numel (n); + n = numel (x); else error ("gallery: X must be an integer scalar, or a vector for invhess matrix."); endif