int redo_count = 0;
show_warning1 = true;
-cluster:
+ cluster:
redo = false;
kmeans_randomize_centers (kmeans, reader, qc);
for (kmeans->lastiter = 0; kmeans->lastiter < qc->maxiter;
quick_cluster_show_centers (kmeans, false, qc);
quick_cluster_show_number_cases (kmeans, qc);
if( qc->print_cluster_membership )
- quick_cluster_show_membership(kmeans, reader, qc);
+ quick_cluster_show_membership(kmeans, reader, qc);
}
int
qc.exclude = MV_ANY;
}
else
- goto error;
+ {
+ lex_error (lexer, NULL);
+ goto error;
+ }
}
}
else if (lex_match_id (lexer, "PRINT"))
else if (lex_match_id (lexer, "INITIAL"))
qc.print_initial_clusters = true;
else
- goto error;
+ {
+ lex_error (lexer, NULL);
+ goto error;
+ }
}
}
else if (lex_match_id (lexer, "CRITERIA"))
}
}
else
- goto error;
+ {
+ lex_error (lexer, NULL);
+ goto error;
+ }
}
}
else
if ( qc.missing_type == MISS_LISTWISE )
{
group = casereader_create_filter_missing (group, qc.vars, qc.n_vars,
- qc.exclude,
- NULL, NULL);
+ qc.exclude,
+ NULL, NULL);
}
kmeans = kmeans_create (&qc);