mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
034bf566f0
abs() implementation does not correctly handle the sign of the infinitesimal part when the value is a NaN. Define the function in terms of copysign which is the only portable way of manipulating the sign of a NaN value. Change-Id: I2f13fb1db62d35ca8b09e6bff1c05a736cb91513