diff --git a/ChangeLog b/ChangeLog index 7cadfc8..5c997d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ -2016-10-17 +2016-11-10 * Version 1.2.0 released ========================= + Correct containment radius computation in GCTAPsf2D::containment_radius (#1876) Add composite spatial and spectral models (#1706) Add GObservations::save_covmat() method (#1863) Add GFft and GFftWavetable classes (#1731) diff --git a/NEWS b/NEWS index 42c8f4e..c307e5a 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in GammaLib 1.2.0 -17 October 2016 +10 November 2016 1. Introduction @@ -256,6 +256,9 @@ None The dimension of response tables is now checked for being consistent with the axis dimension (#1848). +The formula for the containment radius computation in GCTAPsf2D::containment_radius +was wrong and has been corrected (#1876). + 21. COMPTEL interface --------------------- diff --git a/inst/cta/src/GCTAPsf2D.cpp b/inst/cta/src/GCTAPsf2D.cpp index 6340af0..f2b2b80 100644 --- a/inst/cta/src/GCTAPsf2D.cpp +++ b/inst/cta/src/GCTAPsf2D.cpp @@ -540,7 +540,7 @@ double GCTAPsf2D::delta_max(const double& logE, /***********************************************************************//** * @brief Return the radius that contains a fraction of the events (radians) * - * @param[in] fraction of events (0.0