diff --git a/examples/more_garbow_hillstrom.cc b/examples/more_garbow_hillstrom.cc index 415839617..d3b58b5d7 100644 --- a/examples/more_garbow_hillstrom.cc +++ b/examples/more_garbow_hillstrom.cc @@ -71,7 +71,7 @@ const double kDoubleMax = std::numeric_limits::max(); static const double constrained_optimal_cost; \ static const double unconstrained_optimal_cost; \ static CostFunction* Create() { \ - return new AutoDiffCostFunction(new name); \ } \