From 8e969282f6b803f8b86313e338d11a6d75acf542 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 17 Oct 2018 11:34:59 +0200 Subject: [PATCH] Update after changes to GCTAInstDir interface in GammaLib --- src/ctselect/ctselect.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index f8b4937..712ec34 100755 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -1066,8 +1066,9 @@ void ctselect::select_events(GCTAObservation* obs, // If RoI selection has been applied without forcing then set the event // list RoI if (select_roi && !enforced_roi) { - GCTAInstDir instdir; - instdir.dir().radec_deg(ra, dec); + GSkyDir skydir; + skydir.radec_deg(ra, dec); + GCTAInstDir instdir(skydir); list->roi(GCTARoi(instdir, rad)); } -- libgit2 0.21.4