diff --git a/ChangeLog b/ChangeLog index 38a430e..90bd5e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,10 @@ -2015-06-05 Juergen Knoedlseder +2015-06-06 Juergen Knoedlseder * Version 0.11.0 released ========================= Correct model gradient computation + Increased number of integration iterations for energy dispersion (#1472) Add GOptimizerLM::logger() method, logger constructor takes pointer (#1471) Replaced fixed precision integration by fixed iterations (#1466) Implement rejection method for skymap Monte Carlo (#1465) diff --git a/NEWS b/NEWS index 119a67a..7a586be 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 0.11.0 Author(s) : Juergen Knoedlseder -5 June 2015 +6 June 2015 1. Introduction @@ -66,6 +66,9 @@ Integration in npred() is now done using a fixed number of Romberg iterations instead of using the integration precision. This will assure that the log- likelihood function is smooth. +The number of integration iterations for the energy dispersion was changed from +4 to 5 to make it compatible with the default integration order. + 11. Optimization module ----------------------- @@ -125,6 +128,9 @@ All integrations are now done using a fixed number of Romberg iterations instead of using the integration precision. This will assure that the log- likelihood function is smooth. +The number of integration iterations for the energy dispersion was changed from +4 to 5 to make it compatible with the default integration order. + 21. COMPTEL interface --------------------- diff --git a/inst/cta/src/GCTAResponseIrf.cpp b/inst/cta/src/GCTAResponseIrf.cpp index 8c6b19d..ed6e6fe 100644 --- a/inst/cta/src/GCTAResponseIrf.cpp +++ b/inst/cta/src/GCTAResponseIrf.cpp @@ -471,7 +471,7 @@ double GCTAResponseIrf::nroi(const GModelSky& model, const GObservation& obs) const { // Set number of iterations for Romberg integration. - static const int iter = 4; + static const int iter = 5; // Initialise Nroi value double nroi = 0.0; diff --git a/src/obs/GResponse.cpp b/src/obs/GResponse.cpp index d6e5bdd..97c8f6a 100644 --- a/src/obs/GResponse.cpp +++ b/src/obs/GResponse.cpp @@ -175,7 +175,7 @@ double GResponse::convolve(const GModelSky& model, const bool& grad) const { // Set number of iterations for Romberg integration. - static const int iter = 4; + static const int iter = 5; // Initialise result double prob = 0.0;