-
-
Notifications
You must be signed in to change notification settings - Fork 509
Rounding Vectors / Points. #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is currently not implemented. Instead of defining a |
Hmm I was about to tinker a bit to resolve this issue but it seems that currently the master branch is broken, as the tests do not compile? |
Could you paste the error you get please? I've made a fresh clone of the nalgebra repo and test do seem to compile on the master branch. |
On stable:
On nightly, I get 1096 errors. They all seem to be of the As for the original issue, wouldn't |
Tests and benchmarks can only be computed on nightly because we use
Also, if this still doesn't work, could you try to compile tests on the |
It is a new issue on nightly. I already reported it yesterday in rust-lang/rust#43806. There is already a pull request in, so it should be fixed very soon. For the time being we could comment out the |
@aepsil0n Yes, or maybe we could just make it a for e in matrix.iter_mut() {
*e = f(*e)
} Assuming |
Is there a way yet to round vectors or points, similar to
std
'sround
function implemented forf32
andf64
? I cannot seem to find it, but the crate might use a non-standard naming convention, or assume other means of rounding.Furthermore, if it is not present, would a
round
function be something to consider? How would we go about adding it, given a rounding operation might not necessarily make sense on any matrix.The text was updated successfully, but these errors were encountered: