Review quantity handling in gammapy/cube
@@ -151,7 +151,8 @@ class MapEvaluator(object):
Returns ``lon, lat`` tuple of `~astropy.units.Quantity`.
"""
lon, lat = self.geom_image.get_coord()
- return lon * u.deg, lat * u.deg
+ return (u.Quantity(lon, "deg", copy=False),
+ u.Quantity(lat, "deg", copy=False))
@lazyproperty
def lon(self):
