case: Introduce new functions for numbers and substrings in cases.
[pspp] / src / language / stats / means.c
index bb1cf59926fb8eccc3ee3149609271fd1f929594..2235433fb92021600e4d380f2003135a6ab78053 100644 (file)
@@ -939,7 +939,7 @@ service_cell_map (const struct means *means, const struct mtable *mt,
                                                               NULL);
                   stat_update *su = cell_spec[means->statistics[stat]].su;
                   su (cell->stat[stat + v * means->n_statistics], weight,
-                     case_data (c, dep_var)->f);
+                     case_num (c, dep_var));
                 }
             }
         }