diff options
author | julie <julielangou@users.noreply.github.com> | 2015-11-14 06:40:57 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2015-11-14 06:40:57 +0000 |
commit | 1401ea15bc7569eb389605b03250752a29a82fed (patch) | |
tree | 8cddbc301305778be342e2abc6132f42de2c0fc4 | |
parent | fb66eae95d64642222b22700ecb2477b6e1f6482 (diff) | |
download | lapack-1401ea15bc7569eb389605b03250752a29a82fed.tar.gz lapack-1401ea15bc7569eb389605b03250752a29a82fed.tar.bz2 lapack-1401ea15bc7569eb389605b03250752a29a82fed.zip |
Fix cast...
-rw-r--r-- | LAPACKE/src/lapacke_cgesvdx.c | 2 | ||||
-rw-r--r-- | LAPACKE/src/lapacke_zgesvdx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LAPACKE/src/lapacke_cgesvdx.c b/LAPACKE/src/lapacke_cgesvdx.c index da0bb070..93f5fc14 100644 --- a/LAPACKE/src/lapacke_cgesvdx.c +++ b/LAPACKE/src/lapacke_cgesvdx.c @@ -66,7 +66,7 @@ lapack_int LAPACKE_cgesvdx( int matrix_layout, char jobu, char jobvt, char range if( info != 0 ) { goto exit_level_0; } - lwork = (lapack_int)work_query; + lwork = LAPACK_C2INT (work_query); /* Allocate memory for work arrays */ rwork = (float*)LAPACKE_malloc( sizeof(float) * lwork ); if( work == NULL ) { diff --git a/LAPACKE/src/lapacke_zgesvdx.c b/LAPACKE/src/lapacke_zgesvdx.c index 43220780..3b9b12dc 100644 --- a/LAPACKE/src/lapacke_zgesvdx.c +++ b/LAPACKE/src/lapacke_zgesvdx.c @@ -66,7 +66,7 @@ lapack_int LAPACKE_zgesvdx( int matrix_layout, char jobu, char jobvt, char range if( info != 0 ) { goto exit_level_0; } - lwork = (lapack_int)work_query; + lwork = LAPACK_Z2INT (work_query); /* Allocate memory for work arrays */ rwork = (double*)LAPACKE_malloc( sizeof(double) * lwork ); if( work == NULL ) { |