From 8648a0e0ac3bc8fb7975b9ba6c469a7e755a5443 Mon Sep 17 00:00:00 2001 From: Richard Date: Mon, 18 Dec 2023 09:43:44 +0000 Subject: [PATCH] fix a broken reference in init --- autoarray/structures/mesh/triangulation_2d.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/autoarray/structures/mesh/triangulation_2d.py b/autoarray/structures/mesh/triangulation_2d.py index 3df5d48a..d882492a 100644 --- a/autoarray/structures/mesh/triangulation_2d.py +++ b/autoarray/structures/mesh/triangulation_2d.py @@ -1,7 +1,6 @@ import numpy as np import scipy.spatial -import scipy.spatial.qhull as qhull -from typing import Optional, List, Union, Tuple +from typing import List, Union, Tuple from autoarray.structures.abstract_structure import Structure from autoconf import cached_property @@ -67,9 +66,6 @@ def __init__( if type(values) is list: values = np.asarray(values) - self.nearest_pixelization_index_for_slim_index = ( - nearest_pixelization_index_for_slim_index - ) self.uses_interpolation = uses_interpolation super().__init__(values)