diff --git a/CEP/DP3/AOFlagger/include/AOFlagger/msio/timefrequencydata.h b/CEP/DP3/AOFlagger/include/AOFlagger/msio/timefrequencydata.h index d252c6137abd3ea52f077021648fa5b88d4707b3..10c120dcd7f7d6b160ac16005e27cf06c1227c99 100644 --- a/CEP/DP3/AOFlagger/include/AOFlagger/msio/timefrequencydata.h +++ b/CEP/DP3/AOFlagger/include/AOFlagger/msio/timefrequencydata.h @@ -330,6 +330,8 @@ class TimeFrequencyData if(polarisation == XXPolarisation || polarisation == XYPolarisation || polarisation == YXPolarisation || polarisation == YYPolarisation || polarisation == StokesIPolarisation || polarisation == SinglePolarisation) return _flagging[0]; } + else if(_flagCoverage==GlobalFlagCoverage) + return _flagging[0]; throw BadUsageException("Mask requested that was not available in the given time frequency data"); }