-
Notifications
You must be signed in to change notification settings - Fork 83
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
Use only cxx14 features in clustering extension. #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the if constexpr thing looks good to me! I can make the change as well if you want
Thanks for the review. Please go ahead and change it accordingly
Am 14. Oktober 2019 19:11:59 MESZ schrieb Moritz Hoffmann <[email protected]>:
…clonker commented on this pull request.
Apart from the if constexpr thing looks good to me! I can make the
change as well if you want
> - if constexpr (std::is_same_v<T, float>) {
- return compute_f(xs, ys, dim);
- } else {
- return compute_d(xs, ys, dim);
- }
+ return compute_d(xs, ys, dim);
}
+ float compute(const float* xs, const float* ys, std::size_t dim)
const {
+ return compute_f(xs, ys, dim);
+ }
this isnt actually doing the same thing as far as i can tell, the way
to work around `if constexpr` would be with `std::enable_if`
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
aeon-toolkit/aeon#32 (review)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
Not sure why this failed, says |
Codecov Report
@@ Coverage Diff @@
## master #32 +/- ##
=========================================
Coverage ? 82.42%
=========================================
Files ? 35
Lines ? 2857
Branches ? 0
=========================================
Hits ? 2355
Misses ? 502
Partials ? 0 Continue to review full report at Codecov.
|
d6e0e43
to
e86eb17
Compare
Also disable circle ci and update pybind11 to 2.4.2
fixes #31