From d7dcba308bc23b16cf2eed4a0becbc4d0c5e097b Mon Sep 17 00:00:00 2001 From: Pere Mato <pere.mato@cern.ch> Date: Fri, 21 Oct 2016 08:46:08 +0200 Subject: [PATCH] Avoid warnings for clang39 --- math/matrix/inc/TVectorT.h | 2 +- math/matrix/src/TVectorT.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/math/matrix/inc/TVectorT.h b/math/matrix/inc/TVectorT.h index d5573b21b1e..7f3d4827253 100644 --- a/math/matrix/inc/TVectorT.h +++ b/math/matrix/inc/TVectorT.h @@ -72,7 +72,7 @@ public: *this = another; } #ifndef __CINT__ - TVectorT(Int_t lwb,Int_t upb,Element iv1, ...); + TVectorT(Int_t lwb,Int_t upb,Double_t iv1, ...); #endif virtual ~TVectorT() { Clear(); } diff --git a/math/matrix/src/TVectorT.cxx b/math/matrix/src/TVectorT.cxx index 5bbfbc5efd1..f6868c619fe 100644 --- a/math/matrix/src/TVectorT.cxx +++ b/math/matrix/src/TVectorT.cxx @@ -260,7 +260,7 @@ TVectorT<Element>::TVectorT(const TMatrixTDiag_const<Element> &md) : TObject() /// TVectorT foo(1,3,0.0,1.0,1.5,"END"); template<class Element> -TVectorT<Element>::TVectorT(Int_t lwb,Int_t upb,Element iv1, ...) +TVectorT<Element>::TVectorT(Int_t lwb,Int_t upb,Double_t iv1, ...) { if (upb < lwb) { Error("TVectorT(Int_t, Int_t, ...)","upb(%d) < lwb(%d)",upb,lwb); -- GitLab