Fixed sign of errors

release/4.3a0
dellaert 2015-03-09 18:00:25 -07:00
parent a4d1874af4
commit 0f198dc1d6
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ TEST( SmartProjectionCameraFactor, noisy ) {
// Check whitened errors
Vector expected(4);
expected << 7, -235, -58, 242;
expected << -7, 235, 58, -242;
SmartFactor::Cameras cameras1 = factor1->cameras(values);
Point3 point1 = *factor1->point();
Vector actual = factor1->whitenedError(cameras1, point1);