projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys-file-encoding: Put the buffer-read-only declaration at the very top.
[pspp]
/
src
/
language
/
stats
/
factor.c
diff --git
a/src/language/stats/factor.c
b/src/language/stats/factor.c
index cf67ecd8d4de1f8f82528bd1de9cf9662e7e0a16..4ec49010c9dcf6fc44a2ca934ef6ec4e942ce644 100644
(file)
--- a/
src/language/stats/factor.c
+++ b/
src/language/stats/factor.c
@@
-45,7
+45,6
@@
#include "math/correlation.h"
#include "math/covariance.h"
#include "math/moments.h"
#include "math/correlation.h"
#include "math/covariance.h"
#include "math/moments.h"
-#include "output/chart-item.h"
#include "output/charts/scree.h"
#include "output/pivot-table.h"
#include "output/charts/scree.h"
#include "output/pivot-table.h"
@@
-1315,7
+1314,7
@@
cmd_factor (struct lexer *lexer, struct dataset *ds)
else if (lex_match_id (lexer, "ITERATE"))
{
if (lex_force_match (lexer, T_LPAREN)
else if (lex_match_id (lexer, "ITERATE"))
{
if (lex_force_match (lexer, T_LPAREN)
-
&& lex_force_int (lexer
))
+
&& lex_force_int_range (lexer, "ITERATE", 0, INT_MAX
))
{
n_iterations = lex_integer (lexer);
lex_get (lexer);
{
n_iterations = lex_integer (lexer);
lex_get (lexer);