diff scripts/statistics/tests/cor_test.m @ 8664:e07e93c04080

style fixes
author John W. Eaton <jwe@octave.org>
date Wed, 04 Feb 2009 10:56:23 -0500
parents a1dbe9d80eee
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/statistics/tests/cor_test.m	Wed Feb 04 16:05:01 2009 +0100
+++ b/scripts/statistics/tests/cor_test.m	Wed Feb 04 10:56:23 2009 -0500
@@ -68,7 +68,7 @@
   endif
 
   if (!isvector (X) || !isvector (Y) || length (X) != length (Y))
-    error ("cor_test: X and Y must be vectors of the same length")
+    error ("cor_test: X and Y must be vectors of the same length");
   endif
 
   if (nargin < 3)
@@ -109,7 +109,7 @@
     t.dist = "stdnormal";
     cdf = stdnormal_cdf (t.stat);
   else
-    error ("cor_test: method `%s' not recognized", METHOD)
+    error ("cor_test: method `%s' not recognized", METHOD);
   endif
 
   if (strcmp (ALTERNATIVE, "!=") || strcmp (ALTERNATIVE, "<>"))