Print UMF's own error message when needed.

stopcriterion
Salvatore Filippone 7 years ago
parent 260e596c3c
commit a7bd1fb466

@ -106,6 +106,7 @@ int mld_dumf_fact(int n, int nnz,
info = 0;
} else {
printf("umfpack_di_symbolic() error returns INFO= %d\n", info);
umfpack_di_report_status(Control,info);
*symptr = (void *) NULL;
*numptr = (void *) NULL;
return -11;
@ -127,6 +128,7 @@ int mld_dumf_fact(int n, int nnz,
} else {
printf("umfpack_di_numeric() error returns INFO= %d\n", info);
umfpack_di_report_status(Control,info);
info = -12;
*numptr = NULL;
}

@ -107,6 +107,7 @@ int mld_zumf_fact(int n, int nnz,
info = 0;
} else {
printf("umfpack_zi_symbolic() error returns INFO= %d\n", info);
umfpack_zi_report_status(Control,info);
*symptr = (void *) NULL;
*numptr = (void *) NULL;
return -11;
@ -128,6 +129,7 @@ int mld_zumf_fact(int n, int nnz,
} else {
printf("umfpack_zi_numeric() error returns INFO= %d\n", info);
umfpack_zi_report_status(Control,info);
info = -12;
*numptr = NULL;
}

Loading…
Cancel
Save