Commit 75f9726
committed
Add workaround for zero-size arrays with bk()
There is a bug in the LAPACKE `*sytrf` routines that makes them fail
for zero-size arrays. Basically, what happens is that when
`LAPACKE_*sytrf` queries for the optimal `lwork` parameter value,
`dsytrf.f` suggests `0`. When `LAPACKE_*sytrf` actually tries to use
`0` for `lwork`, `dsytrf.f` returns an error indicating that `lwork`
needs to be at least `1`.1 parent 2944c81 commit 75f9726
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments