Skip to content

Commit 10b4aee

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5978946 commit 10b4aee

File tree

13 files changed

+16
-15
lines changed

13 files changed

+16
-15
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
// "postCreateCommand": "pip install -r requirements.txt",
2424
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
2525
// "remoteUser": "vscode"
26-
}
26+
}

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
tags:
44
- 'v*'
5-
5+
66
name: Deploy
77

88
jobs:

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ include pyproject.toml
55

66
recursive-exclude test *
77
recursive-include cpu *
8-
recursive-include cuda *
8+
recursive-include cuda *
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
```
22
./build_conda.sh 3.9 1.9.0 cu111 # python, pytorch and cuda version
3-
```
3+
```

cpu/include/cloud.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ inline std::ostream& operator<<(std::ostream& os, const PointCloud<scalar_t>& P)
104104
os << "[" << p[0] << ", " << p[1] << ", " << p[2] << "];";
105105
}
106106
return os;
107-
}
107+
}

cpu/include/fps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22
#include <torch/extension.h>
3-
at::Tensor fps(at::Tensor points, const int nsamples, bool random = true);
3+
at::Tensor fps(at::Tensor points, const int nsamples, bool random = true);

cpu/include/interpolate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
at::Tensor knn_interpolate(at::Tensor features, at::Tensor idx, at::Tensor weight);
55

66
at::Tensor knn_interpolate_grad(at::Tensor grad_out, at::Tensor idx, at::Tensor weight,
7-
const int m);
7+
const int m);

cpu/include/knn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22
#include <torch/extension.h>
3-
std::pair<at::Tensor, at::Tensor> dense_knn(at::Tensor support, at::Tensor query, int k);
3+
std::pair<at::Tensor, at::Tensor> dense_knn(at::Tensor support, at::Tensor query, int k);

cpu/src/fps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ at::Tensor fps(at::Tensor points, const int nsamples, bool random)
3434
}
3535
}
3636
return out;
37-
}
37+
}

cpu/src/knn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ std::pair<at::Tensor, at::Tensor> dense_knn(at::Tensor support, at::Tensor query
5656
auto out_idx = torch::stack(batch_idx);
5757
auto out_dist = torch::stack(batch_dist);
5858
return std::make_pair(out_idx, out_dist);
59-
}
59+
}

0 commit comments

Comments
 (0)