commit | 98719ced43666e9b8f43c8fe0ed19b660177bf1d | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Mon Sep 13 17:15:02 2021 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Mon Sep 13 17:15:02 2021 -0700 |
tree | 72bae8633f31c3142e9703e9905218b65156d282 | |
parent | 0299ce94421961fbef1359bd97acb2ed689fa5ad [diff] |
Fix a type in interfacing_with_autodiff.html Thanks to @tangobravo for reporting this. https://github.com/ceres-solver/ceres-solver/issues/701 Change-Id: I2b063267c9b501c698ce6cd439a666363ba16fde
diff --git a/docs/source/interfacing_with_autodiff.rst b/docs/source/interfacing_with_autodiff.rst index 02f58b2..e7bcfd7 100644 --- a/docs/source/interfacing_with_autodiff.rst +++ b/docs/source/interfacing_with_autodiff.rst
@@ -37,7 +37,7 @@ template <typename T> T TemplatedComputeDistortion(const T r2) { const double k1 = 0.0082; const double k2 = 0.000023; - return 1.0 + k1 * y2 + k2 * r2 * r2; + return 1.0 + k1 * r2 + k2 * r2 * r2; } struct Affine2DWithDistortion {