Skip to content

Commit

Permalink
ensure initialization of @crit
Browse files Browse the repository at this point in the history
  • Loading branch information
AllinCottrell committed Nov 20, 2024
1 parent 2129cae commit 17a2aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/princomp_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ static gretl_matrix *princomp_with_NAs (const gretl_matrix *M,
gretl_matrix *E = NULL;
gretlopt pca_opt = 0;
double tol = libset_get_user_tolerance(BHHH_TOLER);
double crit;
double crit = NADBL;
gint8 *mask = NULL;
int maxiter = 2048;
int stdize = 1;
Expand Down

0 comments on commit 17a2aa6

Please sign in to comment.