Commit 3e5c3a8f authored by Cédric Traizet's avatar Cédric Traizet
Browse files

COMP: use MetaData::Duration::Seconds instead of MetaData::seconds in assert

parent 13139018
Pipeline #9122 passed with stages
in 80 minutes and 29 seconds
......@@ -614,7 +614,7 @@ void ReadSARSensorModel(const XMLMetadataSupplier & xmlMS,
xmlMS.GetAs<std::string>("level1Product.productInfo.sceneInfo.stop.timeUTC"), dateFormat);
const auto td = azimuthTimeStop - azimuthTimeStart;
assert(td > MetaData::seconds(0));
assert(td > MetaData::Duration::Seconds(0));
const auto numberOfRows = xmlMS.GetAs<double>("level1Product.productInfo.imageDataInfo.imageRaster.numberOfRows");
Supports Markdown
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