Recurse to simplify flow of covariance_pass_two(). Move tests for V2 into for loop.
[pspp] / src / math / ChangeLog
index f2443b09f0db2704b8abba3397a6ce0788cd816f..124abbf50522f1277872b78e2114fcd4ac2dc2fc 100644 (file)
@@ -1,3 +1,15 @@
+2008-07-17  Jason H Stover  <jhs@math.gcsu.edu>
+
+       * covariance-matrix.c (covariance_update_categorical_numeric):
+       Altered to match new code in covariance_pass_two();
+
+       * covariance-matrix.h: Fix declaration of covariance_pass_two.
+
+       * covariance-matrix.c (covariance_pass_two): Moved numeric and
+       categorical scopes of V2 inside for loop. If V1 is not
+       categorical, but V2 is, recurse with the order of the variables
+       reversed to use the code in the previous "if" scope.
+
 2008-07-16  Jason Stover  <jhs@math.gcsu.edu>
 
        * covariance-matrix.c (covariance_pass_two): Renamed