X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fgroup.h;h=6d4691e7b74f003ab2079e589c0797d3f1acd410;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=9c2f84fe6de132ac9c75ecc3aacdba70a9d869b7;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp-builds.git diff --git a/src/math/group.h b/src/math/group.h index 9c2f84fe..6d4691e7 100644 --- a/src/math/group.h +++ b/src/math/group.h @@ -38,7 +38,7 @@ struct group_statistics /* Sample std. deviation */ double s_std_dev; - + /* count */ double n; @@ -58,13 +58,13 @@ struct group_statistics /* Running total of the Levene for this group */ double lz_total; - + /* Group mean of Levene */ - double lz_mean; + double lz_mean; /* min and max values */ - double minimum ; + double minimum ; double maximum ; @@ -75,10 +75,10 @@ struct group_statistics /* These funcs are useful for hash tables */ -/* Return -1 if the id of a is less than b; +1 if greater than and +/* Return -1 if the id of a is less than b; +1 if greater than and 0 if equal */ -int compare_group(const struct group_statistics *a, - const struct group_statistics *b, +int compare_group(const struct group_statistics *a, + const struct group_statistics *b, int width); unsigned hash_group(const struct group_statistics *g, int width);