dimforge / dimforge/nalgebra

The `push` method on vectors can be confusing.

Open
#534 0 comments 0 reactions 0 assignees View on GitHub
enhancement P-low
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Discussions on Discord lead to the conclusion that the recently merged `push` method on vectors can be confusing. The confusion comes for the fact our `push` method returns a new vector of higher dimension instead of modifying the vector in-place like the standard library `std::Vec::push` method.

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.