Skip to content

Commit

Permalink
Remove sanatize_* calls
Browse files Browse the repository at this point in the history
  • Loading branch information
andykee committed Jun 23, 2023
1 parent 2c2ab3d commit 68483a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lentil/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def pixelscale(self):
@pixelscale.setter
def pixelscale(self, value):
if value is not None:
self._pixelscale = lentil.sanitize_shape(value)
self._pixelscale = np.broadcast_to(value, (2,))
else:
self._pixelscale = ()

Expand Down

0 comments on commit 68483a9

Please sign in to comment.