Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use sum() since it is now part of standard rust
It wasn't available when I was first working on this code, it is now, so hooray! Also implemented as sum::<f64> since the type inference doesn't quite work in this context. Related discussion to this issue can be found on github here: rust-lang/rust#25094
- Loading branch information