X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Ftukey-hinges.c;h=99a42cdac8be36e24f44eeea816ebd8e9944493e;hb=005ed2b3279a59e9767efedc8c5d9a40f1df4c77;hp=3e9ea9374eb4198b76d83688234b23de97fc7cf9;hpb=81579d9e9f994fb2908f50af41c3eb033d216e58;p=pspp diff --git a/src/math/tukey-hinges.c b/src/math/tukey-hinges.c index 3e9ea9374e..99a42cdac8 100644 --- a/src/math/tukey-hinges.c +++ b/src/math/tukey-hinges.c @@ -81,7 +81,7 @@ tukey_hinges_create (double W, double c_min) assert (c_min >= 0); os->n_k = 3; - os->k = xcalloc (sizeof (*os->k), 3); + os->k = xcalloc (3, sizeof (*os->k)); if ( c_min >= 1.0) {