Fix a typo in the test
@@ -170,7 +170,7 @@ class SafeMaskMaker(Maker):
position = geom.center_skydir
aeff = exposure.get_spectrum(position) / exposure.meta["livetime"]
- if not np.any(aeff.data) > 0.1:
+ if not np.any(aeff.data > 0.):
log.warning(
f"No safe energy band can be defined for the dataset {dataset.name}: setting mask_safe to False"
)
