We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 886260f commit 3b2290bCopy full SHA for 3b2290b
include/delaunator.hpp
@@ -14,11 +14,11 @@ namespace delaunator {
14
//@see https://stackoverflow.com/questions/33333363/built-in-mod-vs-custom-mod-function-improve-the-performance-of-modulus-op/33333636#33333636
15
inline size_t fast_mod(const size_t i, const size_t c) {
16
return i >= c ? i % c : i;
17
-};
+}
18
19
inline size_t fast_mod_3(const size_t i) {
20
return i % 3;
21
22
23
// Kahan and Babuska summation, Neumaier variant; accumulates less FP error
24
inline double sum(const std::vector<double>& x) {
0 commit comments