Skip to content

Commit

Permalink
Fix compilation errors occurring when building with PyTorch-nightly (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianSzwichtenberg authored Jan 11, 2023
1 parent fe83843 commit fa4f442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(); });

0 comments on commit fa4f442

Please sign in to comment.