Skip to content

Commit

Permalink
Add warnings back to method call
Browse files Browse the repository at this point in the history
  • Loading branch information
acpaquette committed Jul 23, 2024
1 parent 9848637 commit d87cca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ProjectedCameraTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ TEST_F(ConstVelocityProjectedSensorModel, RemoteImageLocus) {
csm::ImageCoord imagePt(8.0, 8.0);
double precision;
csm::WarningList warnings;
csm::EcefLocus locus = sensorModel->imageToRemoteImagingLocus(imagePt, 0.001, &precision);
csm::EcefLocus locus = sensorModel->imageToRemoteImagingLocus(imagePt, 0.001, &precision, &warnings);
csm::EcefCoord groundPt = sensorModel->imageToGround(imagePt, 0.0);
double lookX = groundPt.x - locus.point.x;
double lookY = groundPt.y - locus.point.y;
Expand All @@ -103,5 +103,5 @@ TEST_F(ConstVelocityProjectedSensorModel, RemoteImageLocus) {
EXPECT_NEAR(locus.point.y, 0.0, 1e-9);
EXPECT_NEAR(locus.point.z, 1.1194682805620435, 1e-9);
EXPECT_LT(precision, 0.001);
// EXPECT_TRUE(warnings.empty());
EXPECT_TRUE(warnings.empty());
}

0 comments on commit d87cca3

Please sign in to comment.