dimforge / dimforge/nalgebra

Construction macros don't work when nalgebra is aliased as na

Open
#1,163 5 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

If you alias `nalgebra` as `na` in Cargo.toml:

```
[dependencies]
...
na = { package = "nalgebra", version = "0.31", features = ["bytemuck"] }
...
```

The `point!` and `vector!` macros do not work.

Perhaps they internally use `nalgebra` instead of `$crate` as the path root?

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.