diff options
Diffstat (limited to 'LAPACKE/src/lapacke_cstein.c')
-rw-r--r-- | LAPACKE/src/lapacke_cstein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LAPACKE/src/lapacke_cstein.c b/LAPACKE/src/lapacke_cstein.c index 5f5cd364..b1d20cc1 100644 --- a/LAPACKE/src/lapacke_cstein.c +++ b/LAPACKE/src/lapacke_cstein.c @@ -51,7 +51,7 @@ lapack_int LAPACKE_cstein( int matrix_layout, lapack_int n, const float* d, if( LAPACKE_s_nancheck( n, d, 1 ) ) { return -3; } - if( LAPACKE_s_nancheck( n, e, 1 ) ) { + if( LAPACKE_s_nancheck( n-1, e, 1 ) ) { return -4; } if( LAPACKE_s_nancheck( n, w, 1 ) ) { |