Skip to content

Commit b5601e8

Browse files
committed
grid 2d follows rules
1 parent 32f55f7 commit b5601e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoarray/structures/grids/uniform_2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def distances_to_coordinate_from(
862862
squared_distance = self.squared_distances_to_coordinate_from(
863863
coordinate=coordinate
864864
)
865-
distances = np.sqrt(squared_distance.array)
865+
distances = jnp.sqrt(squared_distance.array)
866866
return Array2D(values=distances, mask=self.mask)
867867

868868
def grid_2d_radial_projected_shape_slim_from(

0 commit comments

Comments
 (0)