From 07eb8ba39254e58cfc2d9bebd30b1f4b572d5735 Mon Sep 17 00:00:00 2001 From: Boris Bonev Date: Fri, 20 Oct 2023 15:37:11 +0200 Subject: [PATCH] renaming to vdm in tests.py --- torch_harmonics/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torch_harmonics/tests.py b/torch_harmonics/tests.py index 7a1bef8..8fbd980 100644 --- a/torch_harmonics/tests.py +++ b/torch_harmonics/tests.py @@ -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)