Documentation fixes

Thanks for Stephan Wirth.

Change-Id: I1dc3c0ab15d97888fdfaa3814d80a3c529665731
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 348f719..c2443ef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -615,8 +615,8 @@
     ENDIF (BUILD_ANDROID)
   ENDIF (CMAKE_COMPILER_IS_GNUCXX)
   IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
-    # Use of -O4 requires use of gold linker & LLVM-gold plugin, which might 
-    # well not be present / in use and without which files will compile, but 
+    # Use of -O4 requires use of gold linker & LLVM-gold plugin, which might
+    # well not be present / in use and without which files will compile, but
     # not link ('file not recognized') so explicitly check for support
     INCLUDE(CheckCXXCompilerFlag)
     CHECK_CXX_COMPILER_FLAG("-O4" HAVE_LTO_SUPPORT)
@@ -663,10 +663,10 @@
   ADD_DEFINITIONS("-D_VARIADIC_MAX=10")
 ENDIF (MSVC)
 
-# GCC is not strict enough by default, so enable most of the warnings.
 IF (UNIX)
+  # GCC is not strict enough by default, so enable most of the warnings.
   SET(CMAKE_CXX_FLAGS
-      "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter")
+    "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter")
 ENDIF (UNIX)
 
 # Use a larger inlining threshold for Clang, since it hobbles Eigen,
diff --git a/docs/source/least_squares_fit.png b/docs/source/least_squares_fit.png
index 7984b9b..7dad673 100644
--- a/docs/source/least_squares_fit.png
+++ b/docs/source/least_squares_fit.png
Binary files differ
diff --git a/docs/source/non_robust_least_squares_fit.png b/docs/source/non_robust_least_squares_fit.png
index aa0ba7e..643d162 100644
--- a/docs/source/non_robust_least_squares_fit.png
+++ b/docs/source/non_robust_least_squares_fit.png
Binary files differ
diff --git a/docs/source/robust_least_squares_fit.png b/docs/source/robust_least_squares_fit.png
index 55279f3..89003c9 100644
--- a/docs/source/robust_least_squares_fit.png
+++ b/docs/source/robust_least_squares_fit.png
Binary files differ
diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst
index eac50b4..2945732 100644
--- a/docs/source/tutorial.rst
+++ b/docs/source/tutorial.rst
@@ -193,7 +193,7 @@
 .. code-block:: c++
 
   CostFunction* cost_function =
-    new NumericDiffCostFunction<F4, ceres::CENTRAL, 1, 1, 1>(
+    new NumericDiffCostFunction<NumericDiffCostFunctor, ceres::CENTRAL, 1, 1, 1>(
         new NumericDiffCostFunctor)
   problem.AddResidualBlock(cost_function, NULL, &x);