Skip to content

Conversation

mdahlin
Copy link

@mdahlin mdahlin commented Jan 19, 2025

Implements tests recommended in #1320 (comment)


Want to call out some potential oddness related to the edge case tests for the product method. I've set it up so the tests pass since these edge cases don't seem too realistic, but wanted to point out regardless.

The callout is that 0 x 0, m x 0, and 0 x n evaluate to 1.

https://github.com/mdahlin/nalgebra/blob/test_statistics/src/base/statistics.rs#L673

Similar results are also seen in the row/column products as well
https://github.com/mdahlin/nalgebra/blob/test_statistics/src/base/statistics.rs#L708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant