Skip to content
Snippets Groups Projects
Commit 63485e24 authored by sesteves's avatar sesteves
Browse files

bug fix

parent a18bd25e
No related branches found
No related tags found
No related merge requests found
......@@ -73,8 +73,8 @@ public class MultiLayerModel implements AtmosphericRefraction {
throws OrekitException {
this.ellipsoid = ellipsoid;
this.refractionLayers = refractionLayers;
atmosphereLowestAltitude = refractionLayers.get(refractionLayers.size() - 1).getLowestAltitude();
Collections.sort(this.refractionLayers, Collections.<ConstantRefractionLayer>reverseOrder());
atmosphereLowestAltitude = refractionLayers.get(refractionLayers.size() - 1).getLowestAltitude();
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment