From 4ea8b7a8536d3d313dd5cf59c8ec42ee1db12510 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sun, 14 Mar 2021 01:12:17 +0100 Subject: [PATCH] Set GTIs in GCOMDri::read_attributes() also in case that start on stop times are identical --- inst/com/src/GCOMDri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/com/src/GCOMDri.cpp b/inst/com/src/GCOMDri.cpp index 1a81e7c..404ebfb 100644 --- a/inst/com/src/GCOMDri.cpp +++ b/inst/com/src/GCOMDri.cpp @@ -1204,7 +1204,7 @@ void GCOMDri::read_attributes(const GFitsHDU* hdu) GTime tstop = gammalib::com_time(hdu->integer("VIEDAY"), hdu->integer("VIETIM")); // Set Good Time Intervals - if (tstop > tstart) { + if (tstop >= tstart) { m_gti = GGti(tstart, tstop); } -- libgit2 0.21.4