Skip to content

Commit

Permalink
renaming to vdm in tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bonevbs committed Oct 20, 2023
1 parent b5b9d6e commit 07eb8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch_harmonics/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ def test_legendre(self):
from torch_harmonics.legendre import legpoly

t = np.linspace(0, 1, 100)
pct = legpoly(self.mmax, self.lmax, t)
vdm = legpoly(self.mmax, self.lmax, t)

for l in range(self.lmax):
for m in range(l+1):
diff = pct[m, l] / self.cml(m,l) - self.pml[(m,l)](t)
diff = vdm[m, l] / self.cml(m,l) - self.pml[(m,l)](t)
self.assertTrue(diff.max() <= self.tol)


Expand Down

0 comments on commit 07eb8ba

Please sign in to comment.