dimforge / dimforge/nalgebra

Cannot compute the SVD of an empty matrix.

Open
#1,353 2 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.