Fix typo in LossFunctionWrapper sample code

Change-Id: Ideb47fe8d36b023ea13cf2c23b92871bea54fe58
This commit is contained in:
Dmitriy Korchemkin
2021-06-24 19:04:20 +03:00
parent 7b2c223be7
commit 3a02d5aaf4
+2 -1
View File
@@ -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);
//