From 25fc4fe9b7989033a794c830c3dcac69ca171f1a Mon Sep 17 00:00:00 2001 From: Jesse Mapel <jam826@nau.edu> Date: Thu, 21 Feb 2019 10:58:39 -0700 Subject: [PATCH] Fixed computeDistortedFocalPlaneCoordinates test (#187) --- tests/UtilitiesTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UtilitiesTests.cpp b/tests/UtilitiesTests.cpp index 2dabe5b..5473dc5 100644 --- a/tests/UtilitiesTests.cpp +++ b/tests/UtilitiesTests.cpp @@ -55,7 +55,7 @@ TEST(UtilitiesTests, computeDistortedFocalPlaneCoordinates) { double iTransS[] = {0.0, 0.0, 10.0}; double iTransL[] = {0.0, 10.0, 0.0}; std::tuple<double, double> natFocalPlane; - computeDistortedFocalPlaneCoordinates(0.5, 4, 8, 0.5, 1, 1, iTransS, iTransL, natFocalPlane); + computeDistortedFocalPlaneCoordinates(0.5, 4, 8, 0.5, 1, 0, iTransS, iTransL, natFocalPlane); EXPECT_DOUBLE_EQ(std::get<0> (natFocalPlane), 0); EXPECT_DOUBLE_EQ(std::get<1> (natFocalPlane), -0.4); } -- GitLab