Skip to content
Snippets Groups Projects
Commit 91f89441 authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

- fix precision problem on linux 32

git-svn-id: http://root.cern.ch/svn/root/trunk@24422 27541ba8-7e3a-0410-8455-c3a389f83636
parent 08f9cf10
No related branches found
No related tags found
No related merge requests found
......@@ -1112,6 +1112,10 @@ int testVector(int ngen, bool testio=false) {
scale = Dim*20;
if (Dim==3 && VecType<V2>::name() == "RhoEtaPhiVector") scale *= 10; // for problem with RhoEtaPhi
if (Dim==4 && VecType<V2>::name() == "PtEtaPhiMVector") scale *= 10;
#if defined (R__LINUX) && !defined(R__B64)
// problem of precision on linux 32
if (Dim ==4) scale = 1000000000;
#endif
// for problem with PtEtaPhiE
if (Dim==4 && VecType<V2>::name() == "PtEtaPhiEVector") scale = 0.01/(std::numeric_limits<double>::epsilon());
s2 = a.testOperations(v2); iret |= a.check(VecType<V2>::name()+" operations",s2,s1,scale);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment