Commit b8fede63158be64e9cff66c6c0ca78eb64e18307

Authored by Jürgen Knödlseder
2 parents 827a3328 2f9e6976

Merge branch 'bugfix-1.4.3' into integration

# Conflicts:
#	ChangeLog
#	NEWS
#	README.md
#	configure.ac
#	doc/Doxyfile
#	doc/source/conf.py
#	gammalib.pc.in
#	inst/cta/src/GCTAEventList.cpp
#	inst/cta/src/GCTAObservation.cpp
#	sonar-project.properties
ChangeLog
... ... @@ -15,8 +15,6 @@
15 15 Add GArf arithmetic operators
16 16 Add GRmf arithmetic operators
17 17 Add GEbounds equality and inequality operators
18   - Fix OpenMP segfault issue when fetching CTA events (#2192)
19   - Correct GModelSpatialComposite::copy_members() bug.
20 18 Improve efficiency of GGti::contains() method.
21 19 Add GFitsTableCol::scale() method (#2191)
22 20 Implement code generator for GammaLib extensions (#2190)
... ... @@ -26,7 +24,6 @@
26 24 Correct output of COMPTEL DRB fitting XML model (#2184)
27 25 Allow source position fitting for Fermi-LAT data (#2183)
28 26 Add GModelSpectralNodes spectral model constructor (#2178)
29   - Fix UTC rounding error in GTime::utc() method (#2177)
30 27 Add GSkyMap division operator for Python 3.x (#2122)
31 28 Add time parameter to GApplicationPar class (#1864)
32 29 Add time string constructor and set method to GTime class (#1864)
... ... @@ -34,6 +31,17 @@
34 31 Add GSkyRegionMap class (#1121)
35 32  
36 33  
  34 +2017-10-31
  35 +
  36 + * Bug fix version 1.4.3 released
  37 + ================================
  38 +
  39 + Correct background interpolation in GCTACubeBackground::operator() (#2268)
  40 + Fix OpenMP segfault issue when fetching CTA events (#2192)
  41 + Fix UTC rounding error in GTime::utc() method (#2177)
  42 + Correct GModelSpatialComposite::copy_members() bug
  43 +
  44 +
37 45 2017-08-24
38 46  
39 47 * Bug fix version 1.4.2 released
... ...
... ... @@ -130,9 +130,6 @@ None
130 130 A spectral model constructor was added to GModelSpectralNodes to allow
131 131 conversion of any spectral model into a spectral node model (#2178).
132 132  
133   -A bug was corrected in GModelSpatialComposite::copy_members() that led to a
134   -segmentation fault when writing a composite spatial model into an XML file.
135   -
136 133  
137 134 9. Numerics module
138 135 ------------------
... ... @@ -153,9 +150,6 @@ A time string constructor and set method was added to GTime to allow
153 150 setting various time formats from a string. Variants exist to set the time in
154 151 the native time reference or in a specific time reference (#1864).
155 152  
156   -A rounding error was fixed in GTime::utc() so that times such as
157   -"2019-12-31T23:59:60" are now "2020-01-01T00:00:00" as they should be (#2177).
158   -
159 153 The efficiency of the GGti::contains() method has been improved for subsequent
160 154 checking of sorted times. Now a new time search always starts at the last
161 155 successful index so that the number of search loops is minimized.
... ... @@ -252,9 +246,6 @@ Redistribution Matrix File (#2210).
252 246 The WSTAT statistics was added to GCTAOnOffObservation for maximum likelihood
253 247 fitting (#2209).
254 248  
255   -Fix a segmentation fault issue when fetching CTA events from an event list
256   -(#2192).
257   -
258 249  
259 250 21. COMPTEL interface
260 251 ---------------------
... ...
doc/source/admin/download.rst
... ... @@ -14,13 +14,15 @@ Releases
14 14 --------
15 15  
16 16 The latest GammaLib release is
17   -`gammalib-1.4.1 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.4.1.tar.gz>`_
18   -(22 August 2017).
  17 +`gammalib-1.4.3 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.4.3.tar.gz>`_
  18 +(31 October 2017).
19 19  
20 20 Below a table of older GammaLib releases. Please read the :ref:`sec_release` to
21 21 learn more about new features and corrected bugs in a given release.
22 22  
23 23 To download an older release, click on the corresponding release number:
  24 +`1.4.2 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.4.2.tar.gz>`_
  25 +`1.4.1 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.4.1.tar.gz>`_
24 26 `1.4.0 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.4.0.tar.gz>`_
25 27 `1.3.1 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.3.1.tar.gz>`_
26 28 `1.3.0 <http://cta.irap.omp.eu/ctools/releases/gammalib/gammalib-1.3.0.tar.gz>`_
... ...
doc/source/admin/release_history/1.4.3.rst 0 → 100644
  1 +.. _1.4.3:
  2 +
  3 +GammaLib 1.4.3 release (31 October 2017)
  4 +========================================
  5 +
  6 +Overview
  7 +--------
  8 +
  9 +GammaLib 1.4.3 is a bug fix for GammaLib release 1.4.
  10 +
  11 +The following bugs have been fixed:
  12 +
  13 +* [`2268 <https://cta-redmine.irap.omp.eu/issues/2268>`_] -
  14 + Correct background interpolation in ``GCTACubeBackground::operator()``
  15 +* [`2192 <https://cta-redmine.irap.omp.eu/issues/2192>`_] -
  16 + Fix OpenMP segfault issue when fetching CTA events
  17 +* [`2177 <https://cta-redmine.irap.omp.eu/issues/2177>`_] -
  18 + Fix UTC rounding error in ``GTime::utc()`` method
  19 +* Correct bug in ``GModelSpatialComposite::copy_members()``
... ...
doc/source/admin/release_history/1.5.rst
... ... @@ -21,13 +21,8 @@ Bug fixes
21 21  
22 22 * [`2234 <https://cta-redmine.irap.omp.eu/issues/2234>`_] -
23 23 Prevent negative response values for COMPTEL IRF
24   -* [`2192 <https://cta-redmine.irap.omp.eu/issues/2192>`_] -
25   - Fix OpenMP segfault issue when fetching CTA events
26   -* Correct bug in ``GModelSpatialComposite::copy_members()``
27 24 * [`2184 <https://cta-redmine.irap.omp.eu/issues/2184>`_] -
28 25 Correct output of COMPTEL DRB fitting XML model
29   -* [`2177 <https://cta-redmine.irap.omp.eu/issues/2177>`_] -
30   - Fix UTC rounding error in ``GTime::utc()`` method
31 26 * [`2122 <https://cta-redmine.irap.omp.eu/issues/2122>`_] -
32 27 Add ``GSkyMap`` division operator for Python 3.x
33 28  
... ...
doc/source/admin/release_history/index.rst
... ... @@ -20,6 +20,7 @@ Bug fix releases:
20 20 .. toctree::
21 21 :maxdepth: 1
22 22  
  23 + GammaLib 1.4.3 <1.4.3>
23 24 GammaLib 1.4.2 <1.4.2>
24 25 GammaLib 1.4.1 <1.4.1>
25 26 GammaLib 1.3.1 <1.3.1>
... ...
inst/cta/test/test_CTA.cpp
... ... @@ -2116,12 +2116,12 @@ void TestGCTAOptimize::test_stacked_optimizer(void)
2116 2116 // Set reference result
2117 2117 double fit_results[] = {83.6331, 0,
2118 2118 22.0145, 0,
2119   - 5.98351e-16, 1.09268e-17,
2120   - -2.49903, 0.0145957,
  2119 + 5.985317e-16, 1.09268e-17,
  2120 + -2.49903, 0.0145909,
2121 2121 300000, 0,
2122 2122 1, 0,
2123   - 1.07386, 0.0218562,
2124   - 0.00440413, 0.0145699,
  2123 + 1.150542, 0.0234168,
  2124 + -0.000264949, 0.0145699,
2125 2125 1.0e6, 0,
2126 2126 1, 0};
2127 2127  
... ...