Commits

Matthew Turk committed 3e88307

This masked some unit equivalency things.

  • Participants
  • Parent commits ec0dea9
  • Branches yt-3.0

Comments (0)

Files changed (1)

yt/units/yt_array.py

 
         """
         new_units = self._unit_repr_check_same(units)
-        if new_units == self.units:
-            return self
         conversion_factor = self.units.get_conversion_factor(new_units)
 
         self.units = new_units
 
         """
         new_units = self._unit_repr_check_same(units)
-        if new_units == self.units:
-            return self.copy()
         conversion_factor = self.units.get_conversion_factor(new_units)
 
         new_array = self * conversion_factor