Skip to content

Commit

Permalink
TropoError and IonoError are optional (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Daniel Smith authored Feb 24, 2023
1 parent 73b4bd8 commit 234ffbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions six/modules/c++/cphd/source/CPHDXMLParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,7 @@ void CPHDXMLParser::fromXML(const xml::lite::Element* errParamXML, ErrorParamete
mCommon.parseDecorrType(rangeBiasDecorrXML, *(errParam.monostatic->radarSensor.rangeBiasDecorr));
}

XMLElem tropoErrorXML = getFirstAndOnly(monostaticXML, "TropoError");
XMLElem tropoErrorXML = getOptional(monostaticXML, "TropoError");
if(tropoErrorXML)
{
errParam.monostatic->tropoError.reset(new six::TropoError());
Expand All @@ -1643,7 +1643,7 @@ void CPHDXMLParser::fromXML(const xml::lite::Element* errParamXML, ErrorParamete
mCommon.parseOptionalDecorrType(tropoErrorXML, "TropoRangeDecorr", errParam.monostatic->tropoError->tropoRangeDecorr);
}

XMLElem ionoErrorXML = getFirstAndOnly(monostaticXML, "IonoError");
XMLElem ionoErrorXML = getOptional(monostaticXML, "IonoError");
if(ionoErrorXML)
{
errParam.monostatic->ionoError.reset(new six::IonoError());
Expand Down

0 comments on commit 234ffbb

Please sign in to comment.