From 328681bc115e00c9939797480ba871968cb19c72 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Dec 2024 20:04:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyg_lib/csrc/ops/cuda/sampled_kernel.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {