mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user