X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Flevene.c;fp=src%2Fmath%2Flevene.c;h=f30d51dfee8d307a38992b7ade14217deb0da0de;hb=42489b63e0b4bec2e20c2f55c9791234f7b41764;hp=920440103b4d5b33bcb6721746b1048591f61693;hpb=032126b098a3600655156bd26ded365953c5283e;p=pspp diff --git a/src/math/levene.c b/src/math/levene.c index 920440103b..f30d51dfee 100644 --- a/src/math/levene.c +++ b/src/math/levene.c @@ -191,7 +191,7 @@ levene_calc (const struct ccase *c, void *_l) struct levene_info *l = (struct levene_info *) _l; const union value *gv = case_data (c, l->v_indep->fv); struct group_statistics key; - double weight = dict_get_case_weight (default_dict, c, &warn); + double weight = dict_get_case_weight (dataset_dict (current_dataset), c, &warn); /* Skip the entire case if /MISSING=LISTWISE is set */ if ( l->missing == LEV_LISTWISE ) @@ -295,7 +295,7 @@ levene2_calc (const struct ccase *c, void *_l) struct levene_info *l = (struct levene_info *) _l; - double weight = dict_get_case_weight (default_dict, c, &warn); + double weight = dict_get_case_weight (dataset_dict (current_dataset), c, &warn); const union value *gv = case_data (c, l->v_indep->fv); struct group_statistics key;