diff src/sparse.cc @ 14062:5b49cafe0599 stable

Use non-negative, non-positive with hyphens in error messages. * accumarray.m, polyfit.m, factorial.m, nchoosek.m, mcnemar_test.m, find.cc, graphics.cc, sparse.cc: Use non-negative, non-positive with hyphens in error messages for consistency with documentation.
author Rik <octave@nomad.inbox5.com>
date Thu, 15 Dec 2011 22:03:03 -0800
parents 7a5aacf65f81
children 72c96de7a403
line wrap: on
line diff
--- a/src/sparse.cc
+++ b/src/sparse.cc
@@ -177,7 +177,7 @@
 
 
                if (! error_state && (m < 0 || n < 0))
-                 error ("sparse: dimensions must be nonnegative");
+                 error ("sparse: dimensions must be non-negative");
              }
            else if (nargin != 3)
              print_usage ();