X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fstats%2Ffactor.c;h=4ec49010c9dcf6fc44a2ca934ef6ec4e942ce644;hb=5af2d8e4450d82bdb660de801e2a8961750442fa;hp=7c74c5e7761ef66fbb34150e112e97e73dedec95;hpb=a645827c1c6df8d2119edca37630fc06b87b7ac5;p=pspp diff --git a/src/language/stats/factor.c b/src/language/stats/factor.c index 7c74c5e776..4ec49010c9 100644 --- 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 "output/chart-item.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) - && lex_force_int (lexer)) + && lex_force_int_range (lexer, "ITERATE", 0, INT_MAX)) { n_iterations = lex_integer (lexer); lex_get (lexer); @@ -1750,12 +1749,12 @@ show_explained_variance (const struct cmd_factor * factor, struct pivot_table *table = pivot_table_create ( N_("Total Variance Explained")); - table->omit_empty = true; pivot_dimension_create (table, PIVOT_AXIS_COLUMN, N_("Statistics"), N_("Total"), PIVOT_RC_OTHER, /* xgettext:no-c-format */ N_("% of Variance"), PIVOT_RC_PERCENT, + /* xgettext:no-c-format */ N_("Cumulative %"), PIVOT_RC_PERCENT); struct pivot_dimension *phase = pivot_dimension_create (