Fix the include in the autodiff codegen example Change-Id: I7fccdcc5a6799eed55c5483f3f2507db649eb272
diff --git a/examples/autodiff_codegen.cc b/examples/autodiff_codegen.cc index bb8ff92..788a7ce 100644 --- a/examples/autodiff_codegen.cc +++ b/examples/autodiff_codegen.cc
@@ -28,14 +28,12 @@ // // Author: darius.rueckert@fau.de (Darius Rueckert) // -// A simple example showing how to generate code for a cost functor and save it -// to a file. When running this example, the new file will be created in the -// current working directory. +// A simple example showing how to generate code for a cost functor // -// We recommend to use the CMake integration instead of using the -// AutoDiffCodeGenerator direclty. +// We recommend to use the CMake integration instead of using +// GenerateCodeForFunctor directly. // -#include "ceres/autodiff_codegen.h" +#include "ceres/codegen/autodiff.h" struct SquareFunctor { template <typename T>