Unverified Commit fa4f4429 authored by Damian Szwichtenberg's avatar Damian Szwichtenberg Committed by GitHub
Browse files

Fix compilation errors occurring when building with PyTorch-nightly (#347)

parent fe83843b
...@@ -39,4 +39,4 @@ SCATTER_API int64_t cuda_version() noexcept { ...@@ -39,4 +39,4 @@ SCATTER_API int64_t cuda_version() noexcept {
} // namespace scatter } // namespace scatter
static auto registry = torch::RegisterOperators().op( static auto registry = torch::RegisterOperators().op(
"torch_scatter::cuda_version", &scatter::cuda_version); "torch_scatter::cuda_version", [] { return scatter::cuda_version(); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment