Commit 1cfc50314084ccc53bf9f92de8d45feb87699cf8

Authored by Jürgen Knödlseder
1 parent 503f51a2

Set only GTI in GCOMDri::read_attributes() if the stop time is after the start time

Showing 1 changed file with 1 additions and 1 deletions
inst/com/src/GCOMDri.cpp
... ... @@ -1205,7 +1205,7 @@ void GCOMDri::read_attributes(const GFitsHDU* hdu)
1205 1205 GTime tstop = gammalib::com_time(hdu->integer("VIEDAY"), hdu->integer("VIETIM"));
1206 1206  
1207 1207 // Set Good Time Intervals
1208   - if (tstop >= tstart) {
  1208 + if (tstop > tstart) {
1209 1209 m_gti = GGti(tstart, tstop);
1210 1210 }
1211 1211  
... ...