Fix typo in LossFunctionWrapper sample code Change-Id: Ideb47fe8d36b023ea13cf2c23b92871bea54fe58
diff --git a/include/ceres/loss_function.h b/include/ceres/loss_function.h index 7aabf7d..e48d953 100644 --- a/include/ceres/loss_function.h +++ b/include/ceres/loss_function.h
@@ -374,7 +374,8 @@ // 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); //