Fix a boundary handling but in BiCubicInterpolator.

Thanks to Bernhard Zeisl for reporting this.

Change-Id: I07fb32c187128bc84868b6f0dd4fabb4a85e1302
This commit is contained in:
Sameer Agarwal
2015-02-26 21:28:52 -08:00
parent c78ccc6579
commit afca29c473
+1 -1
View File
@@ -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;
}