From c48c64ae53955760d59f2e54be0559976803eb29 Mon Sep 17 00:00:00 2001 From: Domenico Tiziani Date: Fri, 25 Nov 2016 13:37:25 +0100 Subject: [PATCH] Bugfix. --- inst/cta/src/GCTAResponseCube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/cta/src/GCTAResponseCube.cpp b/inst/cta/src/GCTAResponseCube.cpp index e6ba73b..64bfc79 100644 --- a/inst/cta/src/GCTAResponseCube.cpp +++ b/inst/cta/src/GCTAResponseCube.cpp @@ -1530,7 +1530,7 @@ double GCTAResponseCube::irf_composite(const GEvent& event, GSource src(source.name(), spat, source.energy(), source.time()); // Compute irf value - irf += this->irf(event, source, obs) * model->scale(i); + irf += this->irf(event, src, obs) * model->scale(i); } -- libgit2 0.21.4