From bd3473a6aa7696a0e0ba996f4fb7376f45486b75 Mon Sep 17 00:00:00 2001 From: sesteves <sroesteves@gmail.com> Date: Mon, 11 Jul 2016 01:10:00 +0100 Subject: [PATCH] minor --- .../orekit/rugged/atmosphericrefraction/MultiLayerModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java b/src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java index edcac2b9..48876237 100644 --- a/src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java +++ b/src/main/java/org/orekit/rugged/atmosphericrefraction/MultiLayerModel.java @@ -95,7 +95,7 @@ public class MultiLayerModel implements AtmosphericRefraction { if (previousRefractionIndex > 0) { theta2 = FastMath.asin(previousRefractionIndex * FastMath.sin(theta1) / entry.getValue()); - // get current los + // get los double a = FastMath.sqrt((1 - FastMath.pow(FastMath.cos(theta2), 2)) / (1 - FastMath.pow(FastMath.cos(theta1), 2))); double b = a * FastMath.cos(theta1) - FastMath.cos(theta2); -- GitLab