fix passing of tol
This commit is contained in:
parent
bab02c93bc
commit
5f6ed75628
|
@ -49,7 +49,7 @@ lapack_int LAPACKE_dgedmdq_work( int matrix_layout, char jobs, char jobz,
|
|||
if( matrix_layout == LAPACK_COL_MAJOR ) {
|
||||
/* Call LAPACK function and adjust info */
|
||||
LAPACK_dgedmdq( &jobs, &jobz, &jobr, &jobq, &jobt, &jobf, &whtsvd, &m,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, &tol, &k, reig, imeig,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, tol, &k, reig, imeig,
|
||||
z, &ldz, res, b, &ldb, v, &ldv, s, &lds,
|
||||
work, &lwork, iwork, &liwork, &info );
|
||||
if( info < 0 ) {
|
||||
|
@ -109,7 +109,7 @@ lapack_int LAPACKE_dgedmdq_work( int matrix_layout, char jobs, char jobz,
|
|||
/* Query optimal working array(s) size if requested */
|
||||
if( lwork == -1 || liwork == -1 ) {
|
||||
LAPACK_dgedmdq( &jobs, &jobz, &jobr, &jobq, &jobt, &jobf, &whtsvd, &m,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, &tol, &k, reig, imeig,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, tol, &k, reig, imeig,
|
||||
z, &ldz, res, b, &ldb, v, &ldv, s, &lds,
|
||||
work, &lwork, iwork, &liwork, &info );
|
||||
return (info < 0) ? (info - 1) : info;
|
||||
|
@ -160,7 +160,7 @@ lapack_int LAPACKE_dgedmdq_work( int matrix_layout, char jobs, char jobz,
|
|||
LAPACKE_dge_trans( matrix_layout, m, n, s, lds, s_t, lds_t );
|
||||
/* Call LAPACK function and adjust info */
|
||||
LAPACK_dgedmdq( &jobs, &jobz, &jobr, &jobq, &jobt, &jobf, &whtsvd, &m,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, &tol, &k, reig, imeig,
|
||||
&n, f, &ldf, x, &ldx, y, &ldy, &nrnk, tol, &k, reig, imeig,
|
||||
z, &ldz, res, b, &ldb, v, &ldv, s, &lds,
|
||||
work, &lwork, iwork, &liwork, &info );
|
||||
if( info < 0 ) {
|
||||
|
|
Loading…
Reference in New Issue