We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c0bc7 commit 84cd539Copy full SHA for 84cd539
autoarray/structures/mesh/triangulation_2d.py
@@ -509,9 +509,7 @@ def voronoi_pixel_areas_for_split(self) -> np.ndarray:
509
with large regularization coefficients, which is preferred at the edge of the mesh where the reconstruction
510
goes to zero.
511
"""
512
- # areas = self._xp.asarray(self.voronoi_pixel_areas)
513
-
514
- areas = self._xp.ones(self.shape[0])
+ areas = self._xp.asarray(self.voronoi_pixel_areas)
515
516
# 90th percentile
517
max_area = self._xp.percentile(areas, 90.0)
0 commit comments