Skip to content

Commit

Permalink
typing for py38
Browse files Browse the repository at this point in the history
  • Loading branch information
GardevoirX committed Feb 16, 2024
1 parent 5ddb20c commit 5b8a1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skmatter/utils/_sparsekde.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def __post_init__(self):
self.cov_dets = np.linalg.det(self.covariances)
self.norms = 1 / np.sqrt((2 * np.pi) ** self.dimension * self.cov_dets)

def __call__(self, x: np.ndarray, i: Union[int, list[int], None] = None):
def __call__(self, x: np.ndarray, i: Union[int, list, None] = None):
"""
Calculate the probability density function (PDF) value for a given input array.
Expand Down

0 comments on commit 5b8a1a3

Please sign in to comment.