Commit 6f6a4e9b1d277d176a6a0993560bd3acad9f6caf

Authored by Nathan Kelley-Hoskins
1 parent 1a69cac1

fixed pointer syntax

Showing 1 changed file with 2 additions and 2 deletions
src/ctselect/ctselect.cpp
@@ -547,8 +547,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) @@ -547,8 +547,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename)
547 // this reference for filtering. 547 // this reference for filtering.
548 //double tmin = gti.tstart().convert(m_cta_ref); 548 //double tmin = gti.tstart().convert(m_cta_ref);
549 //double tmax = gti.tstop().convert(m_cta_ref); 549 //double tmax = gti.tstop().convert(m_cta_ref);
550 - double tmin = gti.tstart().convert( obs->events()->gti()->tstart()->reference() ) ;  
551 - double tmax = gti.tstop( ).convert( obs->events()->gti()->tstart()->reference() ) ; 550 + double tmin = gti.tstart().convert( obs->events()->gti().tstart().reference() ) ;
  551 + double tmax = gti.tstop( ).convert( obs->events()->gti().tstart().reference() ) ;
552 552
553 // Format time with sufficient accuracy and add to selection string 553 // Format time with sufficient accuracy and add to selection string
554 sprintf(cmin, "%.8f", tmin); 554 sprintf(cmin, "%.8f", tmin);