From f711303dd3abe281963523846e7845021a93fc49 Mon Sep 17 00:00:00 2001 From: Tim Schubert Date: Wed, 7 Jun 2023 13:53:29 +0200 Subject: [PATCH] Readd import because it is needed when using the opentaws crate --- opentaws/src/aircraft_state.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opentaws/src/aircraft_state.rs b/opentaws/src/aircraft_state.rs index 55e8cd2..20826fa 100644 --- a/opentaws/src/aircraft_state.rs +++ b/opentaws/src/aircraft_state.rs @@ -241,6 +241,9 @@ impl AircraftState { } fn wrap_position(lat: Angle, lon: Angle) -> (Angle, Angle) { + #[allow(unused_imports)] + use crate::prelude::uom::num_traits::Float; + let quadrant = ((lat.abs() / *QUARTER_REVOLUTION) .get::() .floor() as i64)