Skip to content

Commit

Permalink
Readd import because it is needed when using the opentaws crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schubert authored and dadada committed Jun 7, 2023
1 parent fc5e4c5 commit f711303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opentaws/src/aircraft_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ impl<T> AircraftState<T> {
}

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::<ratio::ratio>()
.floor() as i64)
Expand Down

0 comments on commit f711303

Please sign in to comment.