commit | 8bfdb02fb18551bbd5f222c5472e45eddecd42b9 | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Mon Oct 12 10:07:13 2020 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Mon Oct 12 18:34:24 2020 +0000 |
tree | 3a1a34464779026f0139938e66b96a93e980136d | |
parent | d1b35ffc161fd857c7c433574ca82aa9b2db7f98 [diff] |
Rewrite uses of VLOG_IF and LOG_IF. VLOG_IF's evaluation order is ambiguous - does it mean `if (cond) VLOG(lvl)` or `if (VLOG_IS_ON(lvl) && cond) LOG(INFO)`? In particular, the way it works now is inconsistent with the way the rest of the LOG macros evaluate their arguments. Fixing this would be hard, and the macro's behavior would still surprise some people. Replacing it with an if statement is simple, clear, and unambiguous. Change-Id: I97a92d17a932c0a5344a1bf98d676308793ba877
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.