X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fshapiro-wilk.c;h=27ca1f0fb558adddc9c9d5af77a32580cf14a954;hb=114cd2dc25959a7927730e502300321624f8c07b;hp=30feb39d9ddfb94cb9f844ae5f78444657a54126;hpb=1ee2c545b0c04eb94c19c8aa9d98ddf093f1860a;p=pspp diff --git a/src/math/shapiro-wilk.c b/src/math/shapiro-wilk.c index 30feb39d9d..27ca1f0fb5 100644 --- a/src/math/shapiro-wilk.c +++ b/src/math/shapiro-wilk.c @@ -26,7 +26,6 @@ #include "libpspp/message.h" #include "gettext.h" -#define _(msgid) gettext (msgid) #define N_(msgid) msgid /* Return the sum of coeff[i] * x^i for all i in the range [0,order). @@ -119,7 +118,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;