Fixed misleading results in the Kruskal-Wallis test
[pspp] / src / language / stats / kruskal-wallis.h
index 6194759dd4a84757c5727c47df63ad96699f897a..7adc3129961e3b965ad0acaa15a10dc76638fd4c 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011, 2022 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
 
 #include <stddef.h>
 #include <stdbool.h>
-#include <language/stats/npar.h>
-#include <data/case.h>
-
+#include "data/case.h"
+#include "language/stats/npar.h"
 
 struct kruskal_wallis_test
 {
-  struct two_sample_test parent;
+  struct n_sample_test parent;
 };
 
 struct casereader;
@@ -37,6 +36,6 @@ void kruskal_wallis_execute (const struct dataset *ds,
                       const struct npar_test *test,
                       bool exact,
                       double timer
-                      );
+               );
 
 #endif