-
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.
Fix circumsphere function -- it works!
- Updated the version of the "syn" package from 2.0.42 to 2.0.43 in Cargo.lock. - Modified the Cell struct in cell.rs to implement the Div trait for T and Sub trait for &'a T, where T is a generic type parameter. - Added a conversion implementation From<[T; D]> for Point<f64, D> in point.rs to convert an array of type [T; D] to [f64; D]. - Fixed the calculation of b vector in cell.rs by using na::distance_squared instead of manually calculating the sum of squared coordinates. - Adjusted the solution array by dividing each element by 2.0 before assigning it to solution_point in cell.rs. - Updated the expected value for circumcenter test case in tests module of cell.rs. Note: Removed commented out code and debug print statements.
- Loading branch information
1 parent
e7204f0
commit 9fac2c1
Showing
3 changed files
with
46 additions
and
40 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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