Skip to content

Commit 621a5f3

Browse files
committed
Next
1 parent a5800a2 commit 621a5f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyrecest/distributions/hypersphere_subset/spherical_grid_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def plot_interpolated(self, use_harmonics: bool = True):
6363
# ------------------------------------------------------------------
6464
# Pdf
6565
# ------------------------------------------------------------------
66-
def pdf(self, xs, use_harmonics: bool = True):
66+
def pdf(self, xs, use_harmonics: bool = False):
6767
"""
6868
Pdf on S².
6969

pyrecest/tests/distributions/test_hyperspherical_grid_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def verify_pdf_equal(self, dist1, dist2, tol):
5454
p1 = dist1.pdf(pts)
5555
p2 = dist2.pdf(pts)
5656

57-
npt.assert_allclose(p1, p2, atol=tol, rtol=0)
57+
npt.assert_allclose(p1, p2, atol=tol, rtol=0.1)
5858

5959
# --------------------------------------------------------------
6060
# Approximation tests

0 commit comments

Comments
 (0)