Skip to content

Commit fa4f442

Browse files
Fix compilation errors occurring when building with PyTorch-nightly (#347)
1 parent fe83843 commit fa4f442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csrc/version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ SCATTER_API int64_t cuda_version() noexcept {
3939
} // namespace scatter
4040

4141
static auto registry = torch::RegisterOperators().op(
42-
"torch_scatter::cuda_version", &scatter::cuda_version);
42+
"torch_scatter::cuda_version", [] { return scatter::cuda_version(); });

0 commit comments

Comments
 (0)