Skip to content
  • Guilherme Lima's avatar
    [VECGEOM-578] Fix an FP comparison that was failing on the GPU · d736f872
    Guilherme Lima authored
    The same condition was returning different results in CPU vs. GPU.
    As a result, a CMS polycone was getting an extra 0-length ZSection
    on the GPU, which was later causing discrepancies in the CPU vs. GPU
    tracking.
    
    Adding a tolerance parameter to the FP comparison fixed the divergence.
    d736f872