Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimondas Galvelis committed Mar 30, 2022
1 parent de00476 commit 6e71472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmdnet/neighbors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import torch as pt
from torch.utils import cpp_extension

sources = ['neighbors.cpp', 'neighbors_cpu.cpp'] + ['neighbors_cuda.cu'] if pt.cuda.is_available() else []
sources = ['neighbors.cpp', 'neighbors_cpu.cpp'] + (['neighbors_cuda.cu'] if pt.cuda.is_available() else [])
sources = [os.path.join(os.path.dirname(__file__), name) for name in sources]
print(__file__)
print(os.path.dirname(__file__))
Expand Down

0 comments on commit 6e71472

Please sign in to comment.