Skip to content
Snippets Groups Projects
Commit da137da7 authored by Jesse Mapel's avatar Jesse Mapel Committed by jlaura
Browse files

changed groundtoimage out of image error to warning. (#116)

parent 93bc3c74
No related branches found
No related tags found
No related merge requests found
...@@ -231,9 +231,9 @@ csm::ImageCoord UsgsAstroLsSensorModel::groundToImage( ...@@ -231,9 +231,9 @@ csm::ImageCoord UsgsAstroLsSensorModel::groundToImage(
// Check if both offsets have the same sign. // Check if both offsets have the same sign.
// This means there is not guaranteed to be a zero. // This means there is not guaranteed to be a zero.
if ((firstOffset > 0) != (lastOffset < 0)) { if ((firstOffset > 0) != (lastOffset < 0)) {
throw csm::Error( throw csm::Warning(
csm::Error::ALGORITHM, csm::Warning::IMAGE_COORD_OUT_OF_BOUNDS,
"Ground point is not viewed by the image.", "The image coordinate is out of bounds of the image size.",
"UsgsAstroLsSensorModel::groundToImage"); "UsgsAstroLsSensorModel::groundToImage");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment