From 3fded427dc9b40de636a679d1ba1384382c8e864 Mon Sep 17 00:00:00 2001 From: Lorenzo Moneta <Lorenzo.Moneta@cern.ch> Date: Fri, 14 Dec 2012 15:48:12 +0000 Subject: [PATCH] fixs initialization of vector for vc (use 0.0 instead of 0) git-svn-id: http://root.cern.ch/svn/root/branches/dev/rootvc@48050 27541ba8-7e3a-0410-8455-c3a389f83636 --- math/genvector/inc/Math/GenVector/Cartesian2D.h | 4 ++-- math/genvector/inc/Math/GenVector/Cartesian3D.h | 4 ++-- math/genvector/inc/Math/GenVector/PxPyPzE4D.h | 6 +++--- math/genvector/inc/Math/GenVector/PxPyPzM4D.h | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/math/genvector/inc/Math/GenVector/Cartesian2D.h b/math/genvector/inc/Math/GenVector/Cartesian2D.h index b12794c790a..d1c6809a32f 100644 --- a/math/genvector/inc/Math/GenVector/Cartesian2D.h +++ b/math/genvector/inc/Math/GenVector/Cartesian2D.h @@ -1,4 +1,4 @@ -// @(#)root/mathcore:$Id$ +// @(#)root/mathcore:$Id: b12794c790afad19142e34a401af6c233aba446b $ // Authors: W. Brown, M. Fischler, L. Moneta 2005 /********************************************************************** @@ -47,7 +47,7 @@ public : /** Default constructor with x=y=0 */ - Cartesian2D() : fX(0), fY(0) { } + Cartesian2D() : fX(0.0), fY(0.0) { } /** Constructor from x,y coordinates diff --git a/math/genvector/inc/Math/GenVector/Cartesian3D.h b/math/genvector/inc/Math/GenVector/Cartesian3D.h index 2fd203872f4..c5afa1f5387 100644 --- a/math/genvector/inc/Math/GenVector/Cartesian3D.h +++ b/math/genvector/inc/Math/GenVector/Cartesian3D.h @@ -1,4 +1,4 @@ -// @(#)root/mathcore:$Id$ +// @(#)root/mathcore:$Id: 2fd203872f434b1e4e74933903abb3429494ea6f $ // Authors: W. Brown, M. Fischler, L. Moneta 2005 /********************************************************************** @@ -57,7 +57,7 @@ public : /** Default constructor with x=y=z=0 */ - Cartesian3D() : fX(0), fY(0), fZ(0) { } + Cartesian3D() : fX(0.0), fY(0.0), fZ(0.0) { } /** Constructor from x,y,z coordinates diff --git a/math/genvector/inc/Math/GenVector/PxPyPzE4D.h b/math/genvector/inc/Math/GenVector/PxPyPzE4D.h index 04c6d98020d..74caf923ab3 100644 --- a/math/genvector/inc/Math/GenVector/PxPyPzE4D.h +++ b/math/genvector/inc/Math/GenVector/PxPyPzE4D.h @@ -1,4 +1,4 @@ -// @(#)root/mathcore:$Id$ +// @(#)root/mathcore:$Id: 04c6d98020d7178ed5f0884f9466bca32b031565 $ // Authors: W. Brown, M. Fischler, L. Moneta 2005 /********************************************************************** @@ -13,7 +13,7 @@ // Created by: fischler at Wed Jul 20 2005 // (starting from PxPyPzE4D by moneta) // -// Last update: $Id$ +// Last update: $Id: 04c6d98020d7178ed5f0884f9466bca32b031565 $ // #ifndef ROOT_Math_GenVector_PxPyPzE4D #define ROOT_Math_GenVector_PxPyPzE4D 1 @@ -54,7 +54,7 @@ public : /** Default constructor with x=y=z=t=0 */ - PxPyPzE4D() : fX(0), fY(0), fZ(0), fT(0) { } + PxPyPzE4D() : fX(0.0), fY(0.0), fZ(0.0), fT(0.0) { } /** diff --git a/math/genvector/inc/Math/GenVector/PxPyPzM4D.h b/math/genvector/inc/Math/GenVector/PxPyPzM4D.h index 464c29f33a8..135af63c01c 100644 --- a/math/genvector/inc/Math/GenVector/PxPyPzM4D.h +++ b/math/genvector/inc/Math/GenVector/PxPyPzM4D.h @@ -1,4 +1,4 @@ -// @(#)root/mathcore:$Id$ +// @(#)root/mathcore:$Id: 464c29f33a8bbd8462a3e15b7e4c30c6f5b74a30 $ // Authors: W. Brown, M. Fischler, L. Moneta 2005 /********************************************************************** @@ -13,7 +13,7 @@ // Created by: fischler at Wed Jul 20 2005 // (starting from PxPyPzM4D by moneta) // -// Last update: $Id$ +// Last update: $Id: 464c29f33a8bbd8462a3e15b7e4c30c6f5b74a30 $ // #ifndef ROOT_Math_GenVector_PxPyPzM4D #define ROOT_Math_GenVector_PxPyPzM4D 1 @@ -59,7 +59,7 @@ public : /** Default constructor with x=y=z=m=0 */ - PxPyPzM4D() : fX(0), fY(0), fZ(0), fM(0) { } + PxPyPzM4D() : fX(0.0), fY(0.0), fZ(0.0), fM(0.0) { } /** -- GitLab