mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
[Fix] Fix the compilation error on windows (#1657)
This commit is contained in:
parent
b5ec327d34
commit
ccdc61c087
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
#define MAXN 100
|
#define MAXN 100
|
||||||
#define NMAX 512
|
#define NMAX 512
|
||||||
const double EPS = 1E-8;
|
__device__ const double EPS = 1E-8;
|
||||||
|
|
||||||
__device__ inline int sig(double d) { return (d > EPS) - (d < -EPS); }
|
__device__ inline int sig(double d) { return (d > EPS) - (d < -EPS); }
|
||||||
|
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAXN 20
|
#define MAXN 20
|
||||||
const float EPS = 1E-8;
|
__device__ const float PI = 3.1415926;
|
||||||
const float PI = 3.1415926;
|
|
||||||
|
|
||||||
struct Point {
|
struct Point {
|
||||||
float x, y;
|
float x, y;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user