-
The attribute for identifiers is "id". This has been corrected in GCTAModelBackground. Further, writing of the attribute has been added to GModelSky. Attributes are also only written if the identifier string is not empty.
-
The testconf.sh.in script may be used to test the GammaLib configuration script following installation. This script should be used by the continous integration system to guarantee the coherence of the installation script at any time.
-
The saveto() method now also checks whether a file with the .gz suffix exists.
-
The former trigonometric method led to different results on different platforms due to numerical imprecisions. We now use Huilier's theorem to be less sensitive to numerical problems. The polygon is decomposed in two triangles for this purpose.
-
When a pixel touches the pole, the pixel is effectively a triangle and not a polygon. This case is now handled properly.
-
The mc() method went in endless loops as the exit condition of the while loop was inversed (the method continued looping when the energy was within the valid range and only exited when it was outside). The eval_gradients() method computed the gradients with respect to the parameter values and not the parameter factors. All gradients have be multiplied by the scales. Also, the gradients are now set to 0 if the parameters are fixed. Finally, the parameter "Prefactor" was renamed to "Normalization" because the parameter gives the integral flux under the Gaussian, not the prefactor.
-
…ralGauss mc method as suggested
-
Dates were appended in the middle of a text block if the buffer was flushed before a \n character was reached. A private member m_linestart has been added that tracks whether the buffer is actually at a line start or the middle of a text block. Dates are only set at the beginning of the buffer is the buffer is at a line start.
-
The code has been reformated after changing the class names from GPar to GApplicationPar and GPars to GApplicationPars. The renaming has been logged in the ChangeLog file.