Skip to content

Commit cac6de9

Browse files
committed
w
1 parent 02782cd commit cac6de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vision/status_quo/nalgebra.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub type SMatrix<T, const R: usize, const C: usize> =
2020
Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>>;
2121
```
2222

23-
To deal with the lack of generic const expressions, they a trait for conversions from and to [`typenum`](https://crates.io/crates/typenum) for all `Const` up to size `127` ([source](https://github.com/dimforge/nalgebra/blob/39bb572557299a44093ea09daaff144fd6d9ea1f/src/base/dimension.rs#L273-L345)).
23+
To deal with the lack of generic const expressions, they add a trait for conversions from and to [`typenum`](https://crates.io/crates/typenum) for all `Const` up to size `127` ([source](https://github.com/dimforge/nalgebra/blob/39bb572557299a44093ea09daaff144fd6d9ea1f/src/base/dimension.rs#L273-L345)).
2424

2525
Whenever they now need some computation using `Const<N>`, they convert it to type nums, evaluate the computation using the trait system, and then convert the result back to some `Const<M>`.
2626

0 commit comments

Comments
 (0)