diff --git a/pyg_lib/csrc/ops/cuda/sampled_kernel.cu b/pyg_lib/csrc/ops/cuda/sampled_kernel.cu index a73951f3..ae916dc3 100644 --- a/pyg_lib/csrc/ops/cuda/sampled_kernel.cu +++ b/pyg_lib/csrc/ops/cuda/sampled_kernel.cu @@ -10,7 +10,7 @@ namespace ops { namespace { #define THREADS 1024 -#define CDIV(N, M) ((N) + (M)-1) / (M) +#define CDIV(N, M) ((N) + (M) - 1) / (M) enum FnType { ADD, SUB, MUL, DIV }; const std::map to_fn_type = {