Use static cast when getting elevations to convert from double to float take 2

This commit is contained in:
AdenKoperczak 2025-04-08 15:17:36 -04:00
parent 34eb3af698
commit 314d3f5b9b
No known key found for this signature in database
GPG key ID: 9843017036F62EE7

View file

@ -465,8 +465,8 @@ void Ar2vFileImpl::IndexFile()
if (vcpData_ != nullptr) if (vcpData_ != nullptr)
{ {
// NOLINTNEXTLINE(*-narrowing-conversions) Float is plenty elevationAngle =
elevationAngle = vcpData_->elevation_angle(elevationCut.first); static_cast<float>(vcpData_->elevation_angle(elevationCut.first));
waveformType = vcpData_->waveform_type(elevationCut.first); waveformType = vcpData_->waveform_type(elevationCut.first);
} }
else if ((digitalRadarData0 = else if ((digitalRadarData0 =