forked from georust/geo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1051: Vector2DOps fixes r=michaelkirk a=thehappycheese - [x] I agree to follow the project's [code of conduct](https://github.com/georust/geo/blob/main/CODE_OF_CONDUCT.md). - [x] I added an entry to `CHANGES.md` if knowledge of this change could be valuable to users. - [x] ran `cargo fmt` then `cargo fmt --all -- --check` - [x] ran `cargo clippy --all-features --all-targets -- -Dwarnings` --- Fixing some derps in my previous PR :) - Removed `Send + Sync` from Scalar type; as far as I can tell these constraints are only needed if the trait uses threads. Removing Send+Sync should not prevent a user from using the trait with a Send+Sync type. - Switched to `cmath::hypot` for `magnitude()` for instant gain in robustness, and fixed tests to reflect Co-authored-by: thehappycheese <the.nicholas.archer@gmail.com>
- Loading branch information
Showing
1 changed file
with
43 additions
and
20 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