Cannot compute the SVD of an empty matrix.
Open
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
```
let m = DMatrix::::identity(0, 1); // any zero dimension
let _ = nalgebra::linalg::SVD::try_new_unordered(m, true, true, 0.0, 10); // panic here
```
probably, from try_ interface expected panic-free behavior independent on input. just return None if input is incorrect.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.