Commit 0632813c authored by lucasb-eyer's avatar lucasb-eyer
Browse files

Remove `round` definition. Fixes #44.

Maybe also Fixes #60? The function isn't called anywhere and modern msvc
do define it already, so the definition leads to an error.
parent 9e2f6e3c
...@@ -27,11 +27,11 @@ ...@@ -27,11 +27,11 @@
#include "permutohedral.h" #include "permutohedral.h"
#ifdef WIN32 //#ifdef WIN32
inline int round(double X) { //inline int round(double X) {
return int(X+.5); // return int(X+.5);
} //}
#endif //#endif
#ifdef __SSE__ #ifdef __SSE__
// SSE Permutoheral lattice // SSE Permutoheral lattice
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment