commit | 034bf566f0710a46aa6a0ea0383670ec70a68d83 | [log] [tgz] |
---|---|---|
author | Sergiu Deitsch <sergiu.deitsch@gmail.com> | Sun Nov 14 12:18:26 2021 +0100 |
committer | Sergiu Deitsch <sergiu.deitsch@gmail.com> | Sun Nov 14 17:07:14 2021 +0100 |
tree | 4e5e66bfa504eed39f0dc3ba43ee636b0aaed5cb | |
parent | 31008453fe979f947e594df15a7e254d6631881b [diff] |
use copysign for abs jet 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
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.