Skip to content
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

Implement Product for Quantity #15

Closed
iliekturtles opened this issue Mar 12, 2017 · 1 comment
Closed

Implement Product for Quantity #15

iliekturtles opened this issue Mar 12, 2017 · 1 comment

Comments

@iliekturtles
Copy link
Owner

iliekturtles commented Mar 12, 2017

https://doc.rust-lang.org/core/iter/trait.Product.html

iliekturtles added a commit that referenced this issue Jan 28, 2018
@iliekturtles
Copy link
Owner Author

Current implementation of this trait is incorrect. The product of quantity T isn't T but some other quantity X with different dimensions. e.g. [Length; 2].product() is Area, not Length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant