mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
Print UMF's own error message when needed.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user