diff src/DLD-FUNCTIONS/find.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 5fa482628bf6
children 72c96de7a403
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/find.cc	Thu Dec 15 21:25:59 2011 -0800
+++ b/src/DLD-FUNCTIONS/find.cc	Thu Dec 15 22:03:03 2011 -0800
@@ -413,7 +413,7 @@
 
       if (error_state || (val < 0 || (! xisinf (val) && val != xround (val))))
         {
-          error ("find: N must be a nonnegative integer");
+          error ("find: N must be a non-negative integer");
           return retval;
         }
       else if (! xisinf (val))