Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
82: Use values for all Float methods r=cuviper a=cuviper Since `T: Float` also implies `T: Copy`, we don't need the indirection of a reference for `self` or other parameters. Most of these are marked `#[inline]` anyway, so in the end the change won't make much difference to optimization, but it's semantically cleaner. Users probably won't notice the change in method calls from `&self` to `self`, but construction `from_polar` will need adjustment. Fixes #80. Co-authored-by: Josh Stone <cuviper@gmail.com>
- Loading branch information
Showing
2 changed files
with
53 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters