Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Attempt to fix roottest_root_math_genvector_coordinates4D on ARM64.
  • Loading branch information
Axel-Naumann authored and amadio committed Apr 13, 2017
commit 13c8bba0aa5014d0c935fd0eb709c876dab231f9
3 changes: 2 additions & 1 deletion math/genvector/test/coordinates4D.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ int coordinates4D (bool testAll = false) {
// test cases with zero mass

// tick should be p /sqrt(eps) ~ 4 /sqrt(eps)
ret |= test4D (PxPyPzMVector ( 1., 2., 3., 0.) , 4./std::sqrt(std::numeric_limits<double>::epsilon()) );
// take a factor 1.5 in ticks to be conservative
ret |= test4D (PxPyPzMVector ( 1., 2., 3., 0.) , 1.5 * 4./std::sqrt(std::numeric_limits<double>::epsilon()) );

// this test fails in some machines (skip by default)
if (!testAll) return ret;
Expand Down