Skip to content

Commit 84cd539

Browse files
Jammy2211Jammy2211
authored andcommitted
area hack undo
1 parent 75c0bc7 commit 84cd539

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

autoarray/structures/mesh/triangulation_2d.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,7 @@ def voronoi_pixel_areas_for_split(self) -> np.ndarray:
509509
with large regularization coefficients, which is preferred at the edge of the mesh where the reconstruction
510510
goes to zero.
511511
"""
512-
# areas = self._xp.asarray(self.voronoi_pixel_areas)
513-
514-
areas = self._xp.ones(self.shape[0])
512+
areas = self._xp.asarray(self.voronoi_pixel_areas)
515513

516514
# 90th percentile
517515
max_area = self._xp.percentile(areas, 90.0)

0 commit comments

Comments
 (0)