Skip to content

Commit

Permalink
temporary sympy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefaanhessmann committed Aug 28, 2024
1 parent 4048479 commit 646c2ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ license = { file="LICENSE" }
requires-python = ">=3.10"
dependencies = [
"numpy>=2.0.0",
"sympy",
"sympy<=1.12",
"ase>=3.21",
"h5py",
"pyyaml",
Expand All @@ -36,8 +36,8 @@ dependencies = [
"dirsync",
"torch-ema",
"matscipy>=1.1.0",
"tensorboard",
"tensorboardX",
"tensorboard>=2.17.1",
"tensorboardX>=2.6.2.2",
"tqdm",
"pre-commit",
"black",
Expand Down
4 changes: 2 additions & 2 deletions src/schnetpack/nn/ops/so3.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def generate_clebsch_gordan(lmax: int) -> torch.Tensor:
"""
lidx, midx = sh_indices(lmax)
cg = torch.zeros((lidx.shape[0], lidx.shape[0], lidx.shape[0]))
lidx = lidx
midx = midx
lidx = lidx.numpy()
midx = midx.numpy()
for c1, (l1, m1) in enumerate(zip(lidx, midx)):
for c2, (l2, m2) in enumerate(zip(lidx, midx)):
for c3, (l3, m3) in enumerate(zip(lidx, midx)):
Expand Down

0 comments on commit 646c2ce

Please sign in to comment.