Mercurial > octave-antonio
diff scripts/signal/bartlett.m @ 19827:2e556954ced8
bartlett: Reword error message for consistency
* bartlett.m: Reword error message for consistency with other functions.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Sun, 22 Feb 2015 18:12:57 -0500 |
parents | 4197fc428c7d |
children | d209fbae38ae |
line wrap: on
line diff
--- a/scripts/signal/bartlett.m Sun Feb 22 17:39:29 2015 -0500 +++ b/scripts/signal/bartlett.m Sun Feb 22 18:12:57 2015 -0500 @@ -36,7 +36,7 @@ endif if (! (isscalar (m) && (m == fix (m)) && (m > 0))) - error ("bartlett: M has to be an integer > 0"); + error ("bartlett: M must be a positive integer"); endif if (m == 1)