Skip to content

Commit 3b2290b

Browse files
committed
fix gcc worning
1 parent 886260f commit 3b2290b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/delaunator.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ namespace delaunator {
1414
//@see https://stackoverflow.com/questions/33333363/built-in-mod-vs-custom-mod-function-improve-the-performance-of-modulus-op/33333636#33333636
1515
inline size_t fast_mod(const size_t i, const size_t c) {
1616
return i >= c ? i % c : i;
17-
};
17+
}
1818

1919
inline size_t fast_mod_3(const size_t i) {
2020
return i % 3;
21-
};
21+
}
2222

2323
// Kahan and Babuska summation, Neumaier variant; accumulates less FP error
2424
inline double sum(const std::vector<double>& x) {

0 commit comments

Comments
 (0)