projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137fae2
)
T-TEST: Allow both CIN and CI on CRITERIA.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 31 Jul 2015 15:35:04 +0000
(08:35 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 31 Jul 2015 15:35:04 +0000
(08:35 -0700)
Upon reading the bug report further, I see that it says that SPSS also
allows both forms.
Bug #45664.
src/language/stats/t-test-parser.c
patch
|
blob
|
history
diff --git
a/src/language/stats/t-test-parser.c
b/src/language/stats/t-test-parser.c
index 6b14adbdb35ff4c6b072583a54c1ba2104f730ce..138969f8bf4f3d3437733fc53e9d2a34393b2c97 100644
(file)
--- a/
src/language/stats/t-test-parser.c
+++ b/
src/language/stats/t-test-parser.c
@@
-272,7
+272,7
@@
cmd_t_test (struct lexer *lexer, struct dataset *ds)
else if (lex_match_id (lexer, "CRITERIA"))
{
lex_match (lexer, T_EQUALS);
- if ( lex_force_match_id (lexer, "CI"))
+ if ( lex_
match_id (lexer, "CIN") || lex_
force_match_id (lexer, "CI"))
if ( lex_force_match (lexer, T_LPAREN))
{
lex_force_num (lexer);