projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
psppire_data_window: Don't crash when trying to delete cases when none are selected
[pspp]
/
lib
/
tukey
/
qtukey.c
diff --git
a/lib/tukey/qtukey.c
b/lib/tukey/qtukey.c
index ec146001420eca7d4876e6af12a813efe3f206da..08f8c855d34c65ef50dabefb9f1c914490c3637b 100644
(file)
--- a/
lib/tukey/qtukey.c
+++ b/
lib/tukey/qtukey.c
@@
-192,14
+192,14
@@
double qtukey(double p, double rr, double cc, double df,
}
/* df must be > 1 ; there must be at least two values */
- /* ^^
+ /* ^^
JMD: The comment says 1 but the code says 2.
Which is correct?
*/
assert (df >= 2);
assert (rr >= 1);
assert (cc >= 2);
-
+
R_Q_P01_boundaries (p, 0, ML_POSINF);