diff options
author | Julien Langou <julien.langou@ucdenver.edu> | 2016-12-29 21:53:54 +0100 |
---|---|---|
committer | Julien Langou <julien.langou@ucdenver.edu> | 2016-12-29 21:53:54 +0100 |
commit | b5144a4ca1830ab349296ec141e877651ce08332 (patch) | |
tree | 313fd4b98e944215181753420a35f95919e7948f /LAPACKE/src/lapacke_cgelq.c | |
parent | c5788233f95fed2c7f008ea079e8257a85348287 (diff) |
fixes some more complex to int conversion in the LAPACKE files during workspace
queries See pull request #107 for an initial bunch of these corrections, this
is a follow up. This should hopefully fix them all.
Diffstat (limited to 'LAPACKE/src/lapacke_cgelq.c')
-rw-r--r-- | LAPACKE/src/lapacke_cgelq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LAPACKE/src/lapacke_cgelq.c b/LAPACKE/src/lapacke_cgelq.c index 5dcbe32c..df1d4882 100644 --- a/LAPACKE/src/lapacke_cgelq.c +++ b/LAPACKE/src/lapacke_cgelq.c @@ -60,7 +60,7 @@ lapack_int LAPACKE_cgelq_work( int matrix_layout, lapack_int m, lapack_int n, if( tsize == -1 || tsize == -2 ) { goto exit_level_0; } - lwork = (lapack_int)work_query; + lwork = LAPACK_C2INT( work_query ); /* Allocate memory for work arrays */ work = (lapack_complex_float*)LAPACKE_malloc( sizeof(lapack_complex_float) * lwork ); if( work == NULL ) { |