Mercurial > hg > octave-terminal
changeset 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 | 3109c8b0cff4 |
children | 2a8dcb5b3a00 |
files | scripts/sparse/sprandsym.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/sparse/sprandsym.m +++ b/scripts/sparse/sprandsym.m @@ -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