Remove special case for scalar RadMax2D
@@ -465,10 +465,6 @@ def are_regions_overlapping_rad_max(regions, rad_max, offset, e_min, e_max):
for a, b in combinations(regions, 2)
])
- # evaluate fails with a single bin somewhere trying to interpolate
- if rad_max.data.shape == (1, 1):
- rad_max_at_offset = rad_max.quantity[0, 0]
- else:
rad_max_at_offset = rad_max.evaluate(offset=offset)
# do not check bins outside of energy range
edges_min = rad_max.axes['energy'].edges_min
