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
This commit is contained in:
Sameer Agarwal
2021-09-13 17:15:02 -07:00
parent 0299ce9442
commit 98719ced43
+1 -1
View File
@@ -37,7 +37,7 @@ functor is straightforward and will look as follows:
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 {