mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
db2af1be87
Simplify the semantics for Problem::EvaluateResidualBlock to not ignore the presence of EvaluationCallback and add another method EvaluateResidualBlockAssumingParametersUnchanged to handle the case where the user has an EvaluationCallback but knows that the parameter blocks do not change between calls. Updated the documentation for the methods and EvaluationCallback to reflect these semantics. Also added tests for Evaluation related methods calling i EvaluationCallback when its present. https://github.com/ceres-solver/ceres-solver/issues/483 Change-Id: If0a0c95c2f1f92e9183a90df240104a69a71c46d