math: Avoid unneeded extra allocations for fixed-size data structures.
[pspp] / src / math / tukey-hinges.h
index d87691f8b01a4dceb78fddfc9294c17053e8690b..5a6e07950965a100053b58e3052e8a06d1da0aa8 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 struct tukey_hinges
 {
   struct order_stats parent;
+  struct k k[3];
 };
 
-struct statistic * tukey_hinges_create (double W, double c_min);
+struct tukey_hinges * tukey_hinges_create (double W, double c_min);
 
 
 void tukey_hinges_calculate (const struct tukey_hinges *h, double hinge[3]);