Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#307)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/mirrors-clang-format: v17.0.6 →
v18.1.1](pre-commit/mirrors-clang-format@v17.0.6...v18.1.1)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 13, 2024
1 parent f90a231 commit 0ae8cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ repos:
name: Check PEP8

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.1
hooks:
- id: clang-format
name: Format C++ code
Expand Down
2 changes: 1 addition & 1 deletion pyg_lib/csrc/ops/cuda/sampled_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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<std::string, FnType> to_fn_type = {
Expand Down

0 comments on commit 0ae8cdf

Please sign in to comment.