Add optional callback functions to categoricals.
[pspp] / src / language / stats / glm.q
index 13b097f3b8fce021c9004184b2427f9602e94643..0d792df898bd36efdbbd5e1b872f1245012401f4 100644 (file)
@@ -359,9 +359,10 @@ run_glm (struct casereader *input,
       k++;
     }
 
-  struct categoricals *cats = categoricals_create (categoricals,
-                                                  n_categoricals,
-                                                  NULL, MV_NEVER);
+  struct categoricals *cats =
+    categoricals_create (categoricals, n_categoricals,
+                        NULL, MV_NEVER,
+                        NULL, NULL, NULL);
 
   cov = covariance_2pass_create (n_numerics, numerics,
                                 cats,