static bool run_factor (struct dataset *ds, const struct cmd_factor *factor);
-static bool do_factor_by_matrix (const struct cmd_factor *factor, struct idata *idata);
+static void do_factor_by_matrix (const struct cmd_factor *factor, struct idata *idata);
casereader_destroy (r);
}
-static bool
+static void
do_factor_by_matrix (const struct cmd_factor *factor, struct idata *idata)
{
if (!idata->mm.cov && !idata->mm.corr)
{
msg (ME, _("The dataset has no complete covariance or correlation matrix."));
- return false;
+ return;
}
if (idata->mm.cov && !idata->mm.corr)
if (idata->n_extractions == 0)
{
msg (MW, _("The %s criteria result in zero factors extracted. Therefore no analysis will be performed."), "FACTOR");
- goto finish;
+ return;
}
if (idata->n_extractions > factor->n_vars)
msg (MW,
_("The %s criteria result in more factors than variables, which is not meaningful. No analysis will be performed."),
"FACTOR");
- goto finish;
+ return;
}
{
gsl_vector_free (initial_communalities);
gsl_vector_free (extracted_communalities);
}
-
- finish:
- return;
}