mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Fix a boundary handling but in BiCubicInterpolator.
Thanks to Bernhard Zeisl for reporting this. Change-Id: I07fb32c187128bc84868b6f0dd4fabb4a85e1302
This commit is contained in:
@@ -322,7 +322,7 @@ class CERES_EXPORT BiCubicInterpolator {
|
||||
array_.GetValue(row + 2, col, p31.data());
|
||||
array_.GetValue(row + 2, col + 1, p32.data());
|
||||
} else {
|
||||
p31 = 2 * p21 - p22;
|
||||
p31 = 2 * p21 - p11;
|
||||
p32 = 2 * p22 - p12;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user