Fixed bug reporting the significance of paired value t-test.
[pspp-builds.git] / src / math / factor-stats.c
index 1b91e84eb717296c5bbf1e57fe1477ab52f1b207..a97d7f09349b7fabe25c49383357f87103205ac7 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <config.h>
 #include "factor-stats.h"
+#include <data/val-type.h>
 #include <data/value.h>
 #include <libpspp/hash.h>
 #include <libpspp/array.h>
@@ -72,11 +73,9 @@ metrics_calc (struct metrics *fs, const union value *val,
 
   moments1_add(fs->moments, x, weight);
 
-
   if ( x < fs->min) fs->min = x;
   if ( x > fs->max) fs->max = x;
 
-
   wv = (struct weighted_value **) hsh_probe (fs->ordered_data,(void *) val );
 
   if ( *wv  )