diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index 6881c78..65b9e9c 100644 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -547,8 +547,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) // this reference for filtering. //double tmin = gti.tstart().convert(m_cta_ref); //double tmax = gti.tstop().convert(m_cta_ref); - double tmin = gti.tstart().convert(gti.reference()).secs() ; - double tmax = gti.tstop( ).convert(gti.reference()).secs() ; + double tmin = gti.tstart().secs() ; + double tmax = gti.tstop( ).secs() ; //.secs() ; // Format time with sufficient accuracy and add to selection string sprintf(cmin, "%.8f", tmin);