commit | 83133357ddc4894639de3354c3b0fe3aff848819 | [log] [tgz] |
---|---|---|
author | Sergiu Deitsch <sergiu.deitsch@gmail.com> | Tue May 20 20:36:19 2025 +0200 |
committer | Sergiu Deitsch <sergiu.deitsch@gmail.com> | Tue May 20 21:31:10 2025 +0200 |
tree | d2b576a974fdc44005c5ebf331cf51b71c19aa82 | |
parent | c15da00398ff4e265033c56f6ae46883770dfb5a [diff] |
Partially revert hypot arguments zero checks Unfortunately, libc++'s 3-argument std::hypot implementation is numerically unstable until LLVM 19.x. Therefore, checking the arguments for zeros is insufficient since an underflow can still occur resulting in a zero norm which requires another check. As such, division by zero cannot be reliably avoided. Change-Id: I189c8dc722aaec1ebc3ec8b1a177e1d8ac3b36db
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.