Print UMF's own error message when needed.

This commit is contained in:
Salvatore Filippone
2018-01-16 12:11:09 +00:00
parent 260e596c3c
commit a7bd1fb466
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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;
}
+2
View File
@@ -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;
}