py-ballisticcalc icon indicating copy to clipboard operation
py-ballisticcalc copied to clipboard

Enforce sort order for winds

Open dbookstaber opened this issue 11 months ago • 5 comments

In the case of multiple winds: TrajectoryCalc assumes that Shot.winds[] is sorted by Wind.until_distance (ascending). However right now we do not enforce that or even check whether that assumption is valid.

What is the best way to handle this?

dbookstaber avatar Mar 11 '24 23:03 dbookstaber