commit | b102d53e1dd7dab132e58411183b6fffc2090590 | [log] [tgz] |
---|---|---|
author | David Gossow <dgossow@google.com> | Wed Aug 31 10:21:20 2016 +0200 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Wed Aug 31 20:25:44 2016 +0000 |
tree | 99d13cf52d7ebcff71330f6d01cf4fa1fcdf929e | |
parent | 79a28d1e49af53f67af7f3387d07e7c9b7339433 [diff] |
Gradient checker multithreading bugfix. This is a follow-up on c/7470. GradientCheckingCostFunction calls callback_->SetGradientErrorDetected() in its Evaluate method, which will run in multiple threads simultaneously when enabling this option in the solver. Thus, the string append operation inside that method has to be protected by a mutex. Change-Id: I314ef1df2be52595370d9af05851bf6da39bb45e
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.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver