Mercurial > hg > octave-jordi
changeset 11264:79b77d71d01e
subsindex.m: Fix typo in doc-string.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 17 Nov 2010 20:17:10 -0500 |
parents | c78247b664fc |
children | a117dc8ea1b9 |
files | scripts/ChangeLog scripts/general/subsindex.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-11-17 Ben Abbott <bpabbott@mac.com> + + * general/subsindex.m: Fix typo in doc-string. + 2010-11-17 John W. Eaton <jwe@octave.org> * strings/strchr.m: Style fixes.
--- a/scripts/general/subsindex.m +++ b/scripts/general/subsindex.m @@ -28,7 +28,7 @@ ## @example ## @group ## function b = myclass (a) -## b = myclass (struct ("a", a), "myclass"); +## b = class (struct ("a", a), "myclass"); ## endfunction ## @end group ## @end example @@ -62,3 +62,4 @@ function idx = subsindex (a) error ("subsindex: not defined for class \"%s\"", class(a)); endfunction +