aboutsummaryrefslogtreecommitdiff
path: root/LAPACKE/src/lapacke_csytri_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'LAPACKE/src/lapacke_csytri_3.c')
-rw-r--r--LAPACKE/src/lapacke_csytri_3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LAPACKE/src/lapacke_csytri_3.c b/LAPACKE/src/lapacke_csytri_3.c
index ee550543..543d408d 100644
--- a/LAPACKE/src/lapacke_csytri_3.c
+++ b/LAPACKE/src/lapacke_csytri_3.c
@@ -60,7 +60,7 @@ lapack_int LAPACKE_csytri_3( int matrix_layout, char uplo, lapack_int n,
if( info != 0 ) {
goto exit_level_0;
}
- lwork = (lapack_int)work_query;
+ lwork = LAPACK_C2INT( work_query );
/* Allocate memory for working array(s) */
work = (lapack_complex_float*)
LAPACKE_malloc( sizeof(lapack_complex_float) * lwork );