Skip to content

Fix some minor inconsistencies in LAPACK(E)_[cz]gesvdq#436

Merged
langou merged 1 commit into
Reference-LAPACK:masterfrom
h-vetinari:fix
Sep 2, 2020
Merged

Fix some minor inconsistencies in LAPACK(E)_[cz]gesvdq#436
langou merged 1 commit into
Reference-LAPACK:masterfrom
h-vetinari:fix

Conversation

@h-vetinari

Copy link
Copy Markdown
Contributor

Carrying over 4d792ec from #409 following private communication from @langou / @julielangou, after that PR got overlooked and partially superseded by #434.

Closes #409.

For LAPACKE_cgesvdq, align datatype of `rwork` with lapacke.h and callsite
in LAPACKE_cgesvdq_work; both of the latter use `float* rwork`, so there's
no need to calculate with doubles that only get downcast anyway.

Similarly, make the signature of lapacke_zgesvdq_work consistent across
lapack.h (modified here), the fortran side and lapacke_zgesvdq_work, see:
https://github.com/Reference-LAPACK/lapack/blob/v3.9.0/LAPACKE/src/lapacke_zgesvdq_work.c#L42
https://github.com/Reference-LAPACK/lapack/blob/v3.9.0/SRC/zgesvdq.f#L422
@langou langou merged commit 0bc3070 into Reference-LAPACK:master Sep 2, 2020
@langou

langou commented Sep 2, 2020

Copy link
Copy Markdown
Contributor

Thanks! And sorry for overlooking your previous PR. Julien.

@h-vetinari h-vetinari deleted the fix branch September 2, 2020 19:00
christoph-conrads pushed a commit to christoph-conrads/lapack that referenced this pull request May 23, 2021
Fix some minor inconsistencies in LAPACK(E)_[cz]gesvdq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants