changeset 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 26fb4bfa4193
children 13bc2737177c
files scripts/signal/bartlett.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)