mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Fix typo in LossFunctionWrapper sample code
Change-Id: Ideb47fe8d36b023ea13cf2c23b92871bea54fe58
This commit is contained in:
@@ -374,7 +374,8 @@ class CERES_EXPORT ScaledLoss : public LossFunction {
|
||||
// new AutoDiffCostFunction < UW_Camera_Mapper, 2, 9, 3>(
|
||||
// new UW_Camera_Mapper(feature_x, feature_y));
|
||||
//
|
||||
// LossFunctionWrapper* loss_function(new HuberLoss(1.0), TAKE_OWNERSHIP);
|
||||
// LossFunctionWrapper* loss_function = new LossFunctionWrapper(
|
||||
// new HuberLoss(1.0), TAKE_OWNERSHIP);
|
||||
//
|
||||
// problem.AddResidualBlock(cost_function, loss_function, parameters);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user