Skip to content

Commit

Permalink
fix typo in random.normal function (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevee404 committed May 8, 2024
1 parent e152ac8 commit 8ea6cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pointpats/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def normal(hull, center=None, cov=None, size=None):
if isinstance(cov, (int, float)):
sd = cov
cov = numpy.eye(2) * sd
elif isnstance(cov, numpy.ndarray):
elif isinstance(cov, numpy.ndarray):
if cov.ndim == 2:
assert cov.shape == (2, 2), "Bivariate covariance matrices must be 2 by 2"
elif cov.ndim == 3:
Expand Down

0 comments on commit 8ea6cbd

Please sign in to comment.