Commit b61aba36ffa13d58bd4c0f87b1bd1685312d652f

Authored by Jürgen Knödlseder
1 parent b7b4070c

Remove implicit conversion warnings (#3324)

ChangeLog
1 -2020-11-17 1 +2020-11-18
2 2
3 * Version 2.0.0 released 3 * Version 2.0.0 released
4 ======================== 4 ========================
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 Add ctlike results to XML file (#3431) 7 Add ctlike results to XML file (#3431)
8 Fix implementation of fix_spat_for_ts parameter in ctlike (#3426) 8 Fix implementation of fix_spat_for_ts parameter in ctlike (#3426)
9 Replace std::tmpnam() by gammalib::tmpnam() function in ctselect (#3324) 9 Replace std::tmpnam() by gammalib::tmpnam() function in ctselect (#3324)
  10 + Remove implicit conversion warnings (#3324)
10 11
11 12
12 2020-09-04 13 2020-09-04
1 New Features and Important Changes in ctools 2.0.0 1 New Features and Important Changes in ctools 2.0.0
2 2
3 -17 November 2020 3 +18 November 2020
4 4
5 5
6 Introduction 6 Introduction
@@ -36,7 +36,7 @@ None @@ -36,7 +36,7 @@ None
36 36
37 ctbin - CTA event binning 37 ctbin - CTA event binning
38 ------------------------- 38 -------------------------
39 -None 39 +Removed implicit conversion warning during C++ compilation (#3324).
40 40
41 41
42 ctbkgcube - CTA background cube generation 42 ctbkgcube - CTA background cube generation
README.md
1 ctools information 1 ctools information
2 ================== 2 ==================
3 -* Version: 2.0.0.dev (17 November 2020) 3 +* Version: 2.0.0.dev (18 November 2020)
4 * GammaLib dependency: 2.0.0.dev 4 * GammaLib dependency: 2.0.0.dev
5 5
6 [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/) 6 [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/)
doc/source/admin/release_history/2.0.rst
1 .. _2.0: 1 .. _2.0:
2 2
3 -ctools 2.0 release (17 November 2020) 3 +ctools 2.0 release (18 November 2020)
4 ===================================== 4 =====================================
5 5
6 Overview 6 Overview
@@ -30,6 +30,8 @@ Improvements @@ -30,6 +30,8 @@ Improvements
30 Add :ref:`ctlike` results to XML file 30 Add :ref:`ctlike` results to XML file
31 * [`3324 <https://cta-redmine.irap.omp.eu/issues/3324>`_] - 31 * [`3324 <https://cta-redmine.irap.omp.eu/issues/3324>`_] -
32 Replace ``std::tmpnam()`` by ``gammalib::tmpnam()`` function in :ref:`ctselect` 32 Replace ``std::tmpnam()`` by ``gammalib::tmpnam()`` function in :ref:`ctselect`
  33 +* [`3324 <https://cta-redmine.irap.omp.eu/issues/3324>`_] -
  34 + Remove implicit conversion warnings
33 35
34 36
35 New features 37 New features
src/ctbin/ctbin.hpp
@@ -129,7 +129,7 @@ protected: @@ -129,7 +129,7 @@ protected:
129 inline 129 inline
130 int ctbin::cubes(void) const 130 int ctbin::cubes(void) const
131 { 131 {
132 - return m_cubes.size(); 132 + return ((int)m_cubes.size());
133 } 133 }
134 134
135 #endif /* CTBIN_HPP */ 135 #endif /* CTBIN_HPP */