Skip to content
Snippets Groups Projects
Commit 36d2cb13 authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: remove incorrect assertions in sar sensor model

parent 1849251d
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment