Estimate parameters. Moved some code to re-usable functions.
[pspp-builds.git] / src / math / interaction.c
index 5a736f080a7d6219e8f600c243587912c12cce2b..c8ead42912f17787dc4c01e8e46ced248e255a59 100644 (file)
   N_1, N_2, ..., N_K categories, then the interaction will have
   N_1 * N_2 * N_3 *...* N_K - 1 entries.
  */
+
+#include <config.h>
 #include <assert.h>
-#include <libpspp/alloc.h>
 #include <gsl/gsl_math.h>
 #include <gsl/gsl_vector.h>
 #include <data/category.h>
 #include <data/variable.h>
 #include "interaction.h"
 
+#include "xalloc.h"
+
 /*
   Convert a list of values to a binary vector. The order of VALS must
   correspond to the order of V.