mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 01:40:05 +00:00
Use static cast when getting elevations to convert from double to float take 2
This commit is contained in:
parent
34eb3af698
commit
314d3f5b9b
1 changed files with 2 additions and 2 deletions
|
|
@ -465,8 +465,8 @@ void Ar2vFileImpl::IndexFile()
|
|||
|
||||
if (vcpData_ != nullptr)
|
||||
{
|
||||
// NOLINTNEXTLINE(*-narrowing-conversions) Float is plenty
|
||||
elevationAngle = vcpData_->elevation_angle(elevationCut.first);
|
||||
elevationAngle =
|
||||
static_cast<float>(vcpData_->elevation_angle(elevationCut.first));
|
||||
waveformType = vcpData_->waveform_type(elevationCut.first);
|
||||
}
|
||||
else if ((digitalRadarData0 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue