-
Notifications
You must be signed in to change notification settings - Fork 98
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
Quantity.sqrt() doesn't exist when defining a new system of quantities #100
Comments
|
|
Ahhh! I was able to reproduce. The issue is that the There was a similar issue with the |
Closing this issue. Just realized that it was resolved by 73075f4 but Github's commit message parsing didn't automatically close the issue. |
Hi again! This one might be me confused about configuration stuff but I can't get the Quantity.sqrt() method to work. Fortunately I can work around it. Example code:
And the compiler error:
I believe the
Area
quantity should have thesqrt
method. If I compile the docs and search for "sqrt", it only shows up in theuom
crate. I'm using uom from the dev-test-fix branch, but it happens with 0.19.0 as well, and I'm on Rust 1.28.0. Thanks again!The text was updated successfully, but these errors were encountered: