changeset 6411:2f64090cdc14

[project @ 2007-03-14 22:06:15 by jwe]
author jwe
date Wed, 14 Mar 2007 22:06:15 +0000
parents 8522b107e4ae
children b2096bb759b1
files doc/ChangeLog doc/interpreter/sparse.txi
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Wed Mar 14 22:03:08 2007 +0000
+++ b/doc/ChangeLog	Wed Mar 14 22:06:15 2007 +0000
@@ -1,3 +1,7 @@
+2007-03-14  G. D. McBain  <geordie.mcbain@aeromech.usyd.edu.au>
+
+	* interpreter/sparse.txi: Fix typo.
+
 2007-02-26  From Michael Goffioul  <michael.goffioul@swing.be>
 
 	* Makefile.in, interpreter/Makefile.in, faq/Makefile.in,
--- a/doc/interpreter/sparse.txi	Wed Mar 14 22:03:08 2007 +0000
+++ b/doc/interpreter/sparse.txi	Wed Mar 14 22:06:15 2007 +0000
@@ -195,7 +195,7 @@
 that corresponds to this. For example
 
 @example
-s = diag (sparse(randn(1,n)), -1);
+s = spdiag (sparse(randn(1,n)), -1);
 @end example
 
 creates a sparse (@var{n}+1)-by-(@var{n}+1) sparse matrix with a single