From ff26f4786a62a7499abf3bc8859e8bc9ca327374 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 10 Sep 2014 13:03:31 +0200 Subject: [PATCH] Remove typecasting --- pyext/ctools/obsutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyext/ctools/obsutils.py b/pyext/ctools/obsutils.py index 0e2cd0e..6fd6ad2 100755 --- a/pyext/ctools/obsutils.py +++ b/pyext/ctools/obsutils.py @@ -196,7 +196,7 @@ def cntmap(obs, proj="TAN", coord="GAL", xval=0.0, yval=0.0, \ for event in run.events(): # Determine sky pixel - skydir = gammalib.GCTAInstDir(event.dir()).dir() + skydir = event.dir().dir() pixel = map.dir2inx(skydir) # Set pixel -- libgit2 0.21.4