From 74150e393971ecf8bea52f77d2c8da50f38bcdb6 Mon Sep 17 00:00:00 2001 From: Aurelio Amerio <43349899+aurelio-amerio@users.noreply.github.com> Date: Sat, 20 Jun 2020 19:13:19 +0200 Subject: [PATCH] typo there was a typo at line 66. Also, why is `n_neighbors=50` the default options if it will raise an error at line 132? Could `None` be a better option? --- pygsp/graphs/nngraphs/spherehealpix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygsp/graphs/nngraphs/spherehealpix.py b/pygsp/graphs/nngraphs/spherehealpix.py index 67ecb542..57b96966 100644 --- a/pygsp/graphs/nngraphs/spherehealpix.py +++ b/pygsp/graphs/nngraphs/spherehealpix.py @@ -63,7 +63,7 @@ def __init__(self, indexes=None, nside=32, nest=True, kernel_width=None, n_neigh coords = np.vstack([x, y, z]).transpose() coords = np.asarray(coords, dtype=np.float32) if n_neighbors is None: - n_neighbors = 6 if Nside==1 else 8 + n_neighbors = 6 if nside==1 else 8 self.opt_std = dict() # TODO: find best interpolator between n_side and n_neighbors.