38{
41 double* work = NULL;
42 double work_query;
45 return -1;
46 }
47#ifndef LAPACK_DISABLE_NAN_CHECK
49
51 return -6;
52 }
54 return -8;
55 }
56 }
57#endif
58
60 ldb, w, &work_query, lwork );
61 if( info != 0 ) {
62 goto exit_level_0;
63 }
65
67 if( work == NULL ) {
69 goto exit_level_0;
70 }
71
73 ldb, w, work, lwork );
74
76exit_level_0:
79 }
80 return info;
81}
#define LAPACK_WORK_MEMORY_ERROR
int LAPACKE_get_nancheck(void)
lapack_int LAPACKE_dsygv_2stage_work(int matrix_layout, lapack_int itype, char jobz, char uplo, lapack_int n, double *a, lapack_int lda, double *b, lapack_int ldb, double *w, double *work, lapack_int lwork)
#define LAPACKE_malloc(size)
void LAPACKE_xerbla(const char *name, lapack_int info)
lapack_logical LAPACKE_dsy_nancheck(int matrix_layout, char uplo, lapack_int n, const double *a, lapack_int lda)