From 8ea6cbd4191accdba6185457b7a4fba90b2c52aa Mon Sep 17 00:00:00 2001 From: stevee404 <80679352+stevee404@users.noreply.github.com> Date: Wed, 8 May 2024 12:42:40 +0200 Subject: [PATCH] fix typo in random.normal function (#138) --- pointpats/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointpats/random.py b/pointpats/random.py index 806c1a1..b1a519c 100644 --- a/pointpats/random.py +++ b/pointpats/random.py @@ -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: