X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ft-test-paired.c;h=9ec459eead84a03f252819fac9eb78ff33449a61;hb=f4491cda2715c59495d963d0a3d8ae4518c1c13d;hp=bf6545e3bb94f7221d494a07a870483a9dd3e09b;hpb=8d023f3691564159dfd300cc92f386b47186bf50;p=pspp diff --git a/src/language/stats/t-test-paired.c b/src/language/stats/t-test-paired.c index bf6545e3bb..9ec459eead 100644 --- a/src/language/stats/t-test-paired.c +++ b/src/language/stats/t-test-paired.c @@ -87,10 +87,10 @@ paired_run (const struct tt *tt, size_t n_pairs, vp *pairs, struct casereader *r struct pair_stats *pp = &ps.ps[i]; const union value *val0 = case_data (c, pp->var0); const union value *val1 = case_data (c, pp->var1); - if (var_is_value_missing (pp->var0, val0, tt->exclude)) + if (var_is_value_missing (pp->var0, val0) & tt->exclude) continue; - if (var_is_value_missing (pp->var1, val1, tt->exclude)) + if (var_is_value_missing (pp->var1, val1) & tt->exclude) continue; moments_pass_one (pp->mom0, val0->f, w); @@ -110,10 +110,10 @@ paired_run (const struct tt *tt, size_t n_pairs, vp *pairs, struct casereader *r struct pair_stats *pp = &ps.ps[i]; const union value *val0 = case_data (c, pp->var0); const union value *val1 = case_data (c, pp->var1); - if (var_is_value_missing (pp->var0, val0, tt->exclude)) + if (var_is_value_missing (pp->var0, val0) & tt->exclude) continue; - if (var_is_value_missing (pp->var1, val1, tt->exclude)) + if (var_is_value_missing (pp->var1, val1) & tt->exclude) continue; moments_pass_two (pp->mom0, val0->f, w);