X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Froc.c;h=5f8da6df55e04f0ea0e3b07677513fc55fe31891;hb=3b54533821614d17afc61f1cd3b87d3a06fbf4da;hp=f0e1715ac3eaafd53a6fe16855092d3f2a730ca4;hpb=96994a54e60e9c95b8bba54c2281acf7059b1203;p=pspp diff --git a/src/language/stats/roc.c b/src/language/stats/roc.c index f0e1715ac3..5f8da6df55 100644 --- a/src/language/stats/roc.c +++ b/src/language/stats/roc.c @@ -712,7 +712,7 @@ do_roc (struct cmd_roc *roc, struct casereader *reader, struct dictionary *dict) { int i; - struct roc_state *rs = xcalloc (roc->n_vars, sizeof *rs); + struct roc_state *rs = XCALLOC (roc->n_vars, struct roc_state); struct casereader *negatives = NULL; struct casereader *positives = NULL; @@ -1062,7 +1062,7 @@ show_coords (struct roc_state *rs, const struct cmd_roc *roc) { struct pivot_table *table = pivot_table_create ( N_("Coordinates of the Curve")); - table->omit_empty = true; + table->look.omit_empty = true; pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Statistics"), N_("Positive if greater than or equal to"),