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

This commit is contained in:
AdenKoperczak 2025-04-08 14:32:09 -04:00
parent 0ac0e03ff8
commit 34eb3af698
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
2 changed files with 2 additions and 4 deletions

View file

@ -221,8 +221,7 @@ uint16_t VolumeCoveragePatternData::number_of_base_tilts() const
double VolumeCoveragePatternData::elevation_angle(uint16_t e) const
{
float elevationAngleConverted =
// NOLINTNEXTLINE This conversion is accurate
double elevationAngleConverted =
p->elevationCuts_[e].elevationAngle_ * ANGLE_DATA_SCALE;
// Any elevation above 90 degrees should be interpreted as a
// negative angle