Commit 36d2cb13 authored by Victor Poughon's avatar Victor Poughon

BUG: remove incorrect assertions in sar sensor model

parent 1849251d
Pipeline #1180 passed with stage
in 27 minutes and 44 seconds
......@@ -1268,7 +1268,6 @@ bool ossimSarSensorModel::worldToAzimuthRangeTime(const ossimGpt& worldPt, TimeT
for (std::size_t idx=0 ; idx!=nbCoords ; ++idx)
{
const int pos = s_printf(prefix_, "%s[%d].", sr_gr_prefix.c_str(), idx);
assert(pos >= sizeof(SR_PREFIX)+4 && pos < sizeof(prefix_));
std::string prefix(prefix_, pos);
ossimSarSensorModel::CoordinateConversionRecordType coordRecord;
......@@ -1301,7 +1300,6 @@ bool ossimSarSensorModel::worldToAzimuthRangeTime(const ossimGpt& worldPt, TimeT
for (std::size_t idx=0 ; idx!=conversionRecords.size() ; ++idx)
{
const int pos = s_printf(prefix_, "%s[%d].", sr_gr_prefix.c_str(), idx);
assert(pos >= sizeof(SR_PREFIX)+4 && pos < sizeof(prefix_));
std::string prefix(prefix_, pos);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment