X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Ffactor-stats.c;h=a97d7f09349b7fabe25c49383357f87103205ac7;hb=5ee84736663824fe12474b78dace867e42893a14;hp=1b91e84eb717296c5bbf1e57fe1477ab52f1b207;hpb=9f087e7aa4cdff1d5d46d5e188c0017a9d2d0029;p=pspp-builds.git diff --git a/src/math/factor-stats.c b/src/math/factor-stats.c index 1b91e84e..a97d7f09 100644 --- a/src/math/factor-stats.c +++ b/src/math/factor-stats.c @@ -16,6 +16,7 @@ #include #include "factor-stats.h" +#include #include #include #include @@ -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 )