X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fshapiro-wilk.c;h=6d10722297ab5eb4d0726ae385b08e0e081c8cbf;hb=8f7af0acaf8a9253242d89fcdb26e285841f7833;hp=30feb39d9ddfb94cb9f844ae5f78444657a54126;hpb=7f0d18e1c856e42ef8fc910d785baace2900f7e6;p=pspp diff --git a/src/math/shapiro-wilk.c b/src/math/shapiro-wilk.c index 30feb39d9d..6d10722297 100644 --- a/src/math/shapiro-wilk.c +++ b/src/math/shapiro-wilk.c @@ -119,7 +119,7 @@ shapiro_wilk_create (int n, double mean) if (n < 3 || n > 5000) return NULL; - struct shapiro_wilk *sw = xzalloc (sizeof (*sw)); + struct shapiro_wilk *sw = XZALLOC (struct shapiro_wilk); struct order_stats *os = &sw->parent; struct statistic *stat = &os->parent;