Skip to content

Commit 0632813

Browse files
committed
Remove round definition. Fixes lucasb-eyer#44.
Maybe also Fixes lucasb-eyer#60? The function isn't called anywhere and modern msvc do define it already, so the definition leads to an error.
1 parent 9e2f6e3 commit 0632813

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pydensecrf/densecrf/src/permutohedral.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727

2828
#include "permutohedral.h"
2929

30-
#ifdef WIN32
31-
inline int round(double X) {
32-
return int(X+.5);
33-
}
34-
#endif
30+
//#ifdef WIN32
31+
//inline int round(double X) {
32+
// return int(X+.5);
33+
//}
34+
//#endif
3535

3636
#ifdef __SSE__
3737
// SSE Permutoheral lattice

0 commit comments

Comments
 (0)