40{
43 double* work = NULL;
46 return -1;
47 }
48#ifndef LAPACK_DISABLE_NAN_CHECK
50
52 return -5;
53 }
55 return -7;
56 }
58 return -9;
59 }
61 return -11;
62 }
63 }
64#endif
65
67 if( iwork == NULL ) {
69 goto exit_level_0;
70 }
72 if( work == NULL ) {
74 goto exit_level_1;
75 }
76
78 b, ldb, x, ldx, ferr, berr, work, iwork );
79
81exit_level_1:
83exit_level_0:
86 }
87 return info;
88}
#define LAPACK_WORK_MEMORY_ERROR
lapack_int LAPACKE_dporfs_work(int matrix_layout, char uplo, lapack_int n, lapack_int nrhs, const double *a, lapack_int lda, const double *af, lapack_int ldaf, const double *b, lapack_int ldb, double *x, lapack_int ldx, double *ferr, double *berr, double *work, lapack_int *iwork)
int LAPACKE_get_nancheck(void)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dpo_nancheck(int matrix_layout, char uplo, lapack_int n, const double *a, lapack_int lda)
lapack_logical LAPACKE_dge_nancheck(int matrix_layout, lapack_int m, lapack_int n, const double *a, lapack_int lda)