"vscode:/vscode.git/clone" did not exist on "bdc0581be0330cff4c603d1243f0358d825676aa"
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 {
} // namespace scatter
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