diff --git a/src/main/java/org/orekit/rugged/api/SensorMeanPlaneCrossing.java b/src/main/java/org/orekit/rugged/api/SensorMeanPlaneCrossing.java
index 5bf57cf2ad1e50278951b86009a91203e66c8ed0..ebe5fd3607718980c4a01015bd29bc297aa95264 100644
--- a/src/main/java/org/orekit/rugged/api/SensorMeanPlaneCrossing.java
+++ b/src/main/java/org/orekit/rugged/api/SensorMeanPlaneCrossing.java
@@ -217,8 +217,8 @@ class SensorMeanPlaneCrossing {
 
                 final int inf = FastMath.max(0, FastMath.min(scToInertial.size() - 2, (int) FastMath.floor(crossingLine)));
                 final AbsoluteDate date = sensor.getDate(crossingLine);
-                    bodyToInert = Transform.interpolate(date, false, false, bodyToInertial.subList(inf, inf + 2));
-                    scToInert   = Transform.interpolate(date, false, false, scToInertial.subList(inf, inf + 2));
+                bodyToInert = Transform.interpolate(date, false, false, bodyToInertial.subList(inf, inf + 2));
+                scToInert   = Transform.interpolate(date, false, false, scToInertial.subList(inf, inf + 2));
             }
 
             return null;