Commit 223a650
[easyh5] sync the loadh5 fix for transposed complex and sparse arrays
saveh5 transposes an array before writing and then derives the Real/Imag parts
and SparseIndex from the transposed matrix, while loadh5 only undid the
transpose for values that came back numeric. Complex and sparse data arrive as
a compound type, so they were returned transposed - for a non-symmetric sparse
matrix that is silent data corruption. Fixed upstream in easyh5, their home.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 43b3fd0 commit 223a650
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| 237 | + | |
237 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
238 | 246 | | |
239 | 247 | | |
240 | 248 | | |
| |||
0 commit comments