diff scripts/statistics/distributions/discrete_inv.m @ 11472:1740012184f9

Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 21:33:04 -0800
parents 1c6ff93c025a
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/statistics/distributions/discrete_inv.m	Sun Jan 09 16:01:05 2011 -0800
+++ b/scripts/statistics/distributions/discrete_inv.m	Sun Jan 09 21:33:04 2011 -0800
@@ -36,11 +36,11 @@
   sz = size (x);
 
   if (! isvector (v))
-    error ("discrete_inv: v must be a vector");
+    error ("discrete_inv: V must be a vector");
   elseif (! isvector (p) || (length (p) != length (v)))
-    error ("discrete_inv: p must be a vector with length (v) elements");
+    error ("discrete_inv: P must be a vector with length (V) elements");
   elseif (! (all (p >= 0) && any (p)))
-    error ("discrete_inv: p must be a nonzero, nonnegative vector");
+    error ("discrete_inv: P must be a nonzero, nonnegative vector");
   endif
 
   n = numel (x);