Skip to content

Commit a5800a2

Browse files
committed
Next
1 parent dce3466 commit a5800a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrecest/distributions/hypersphere_subset/abstract_hypersphere_subset_grid_distribution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, grid, grid_values, enforce_pdf_nonnegative=True):
2121
raise ValueError("Grid size must match number of grid values.")
2222

2323
AbstractGridDistribution.__init__(self, grid_values, grid_type = "unknown", grid=grid, dim=grid.shape[1], enforce_pdf_nonnegative=enforce_pdf_nonnegative)
24-
AbstractGridDistribution.__init__(self, dim=grid.shape[1])
24+
AbstractHypersphereSubsetDistribution.__init__(self, dim=grid.shape[1])
2525
self.normalize()
2626

2727
def mean_direction(self):

0 commit comments

Comments
 (0)