Original issue 29 created by sandwichmaker on 2012-05-17T04:52:35.000Z:
Currently the way the fixed part of the cost is evaluated, is by doing a full eval outside the solver followed by a partial eval inside the solver -- using the residual blocks that are active and taking their difference. This leads to floating point errors of about 1e-13 in relative magnitude.
The right way to deal with this is to estimate the fixed cost in solver_impl.cc by evaluating the inactive residual block.
该提问来源于开源项目:ceres-solver/ceres-solver