Commit Graph
17 Commits
Author SHA1 Message Date
Julien Schueller 3ecbd1d097 bdsqr: Fix INFO return when NCVT=NRU=NCC=0
Problem: When NCVT = NRU = NCC = 0 (no singular vectors requested),
BDSQR calls the dqds algorithm. If dqds failed with INFO = 1 or 3,
the routine returned immediately with that error, even though the
standard QR algorithm could still compute the singular values. Only
INFO = 2 triggered the fallback.

Change `IF( INFO .NE. 2 ) RETURN` to `IF( INFO .EQ. 0 ) RETURN`
after the dqds call, so the standard QR fallback runs on any
dqds failure (INFO=1,2,3) and not only INFO=2.

Closes #242
2026-06-11 15:33:25 +02:00
Julien Schueller feed6a7534 CMake: Disable TEST_FORTRAN_COMPILER
Closes #757
2022-11-18 19:23:41 +01:00
Julien Schueller 22f2ee7b79 xgesdd: Handle norm nan value
Closes #469
2021-01-08 18:20:54 +01:00
Julien Schueller 8f004b353a CMake: Bump minimum version to 3.2
Newer cmake issues a warning when required version is < 3.
Version 3.2 should be old enough (eg ubuntu 16.04 has version 3.5).
2021-01-08 17:50:49 +01:00
Julien Schueller 53867c4d06 Remove unnecessary lapack_int cast 2020-02-20 09:55:33 -07:00
Julien Schueller e0bddb2578 Fix MinGW build error
With MinGW the build fails for some LAPACKE xgesvd routines with:
lapacke_cgesvdq.c:74:5: error: aggregate value used where an integer was expected
Seems the C2INT macro is useful there.
2020-02-20 09:55:32 -07:00
Julien Schueller 74cecfb96a Remove unnecessary lapack_int cast 2019-11-25 20:21:50 +01:00
Julien Schueller 489a2884c2 Fix MinGW build error
With MinGW the build fails for some LAPACKE xgesvd routines with:
lapacke_cgesvdq.c:74:5: error: aggregate value used where an integer was expected
Seems the C2INT macro is useful there.
2019-11-25 20:21:19 +01:00
Julien Schueller 089a21c485 Update .travis.yml 2018-01-17 16:59:48 +01:00
Julien Schueller 6bd7882dd2 uninstall oclint 2018-01-17 16:50:49 +01:00
Julien Schueller b7c2416b4a Fix complex to int conversion 2016-12-29 19:05:43 +01:00
Julien Schueller e260a8bfae Fix osx build 2016-12-29 18:40:21 +01:00
Julien Schueller 48a4a89ab7 Fix global options definition 2016-08-23 16:41:00 +02:00
Julien Schueller 3e38335a69 Enable CBLAS tests in Travis 2016-08-23 16:39:03 +02:00
Julien Schueller 0f063f0d76 Fix CBLAS testing 2016-08-23 16:38:38 +02:00
Julien Schueller a0ef4e3448 Add Travis config file 2016-06-04 09:24:29 +02:00
Julien Schueller ecb3d863f9 Fix empty cmake replace 2016-06-04 09:23:24 +02:00