Mercurial > octave
diff scripts/sparse/sprandsym.m @ 13240:32980cbf2338
Use correct function name in error message in sprandsym
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 28 Sep 2011 10:57:18 -0500 |
parents | 410de573089a |
children | 9f28f0d05473 |
line wrap: on
line diff
--- a/scripts/sparse/sprandsym.m Wed Sep 28 09:47:33 2011 -0500 +++ b/scripts/sparse/sprandsym.m Wed Sep 28 10:57:18 2011 -0500 @@ -46,11 +46,11 @@ endif if (!(isscalar (n) && n == fix (n) && n > 0)) - error ("sprand: N must be an integer greater than 0"); + error ("sprandsym: N must be an integer greater than 0"); endif if (d < 0 || d > 1) - error ("sprand: density D must be between 0 and 1"); + error ("sprandsym: density D must be between 0 and 1"); endif ## Actual number of nonzero entries