Commit 65be1a8f authored by Bryan Cazabonne's avatar Bryan Cazabonne Committed by Luc Maisonobe

See commit @64172568.

parent 0f82fa4b
......@@ -669,7 +669,7 @@ public class RangeRateTest {
public double value(final ParameterDriver parameterDriver) {
return measurement.estimate(0, 0, new SpacecraftState[] { state }).getEstimatedValue()[0];
}
}, drivers[i], 3, 0.1);
}, 3, 0.1 * drivers[i].getScale());
final double ref = dMkdP.value(drivers[i]);
maxRelativeError = FastMath.max(maxRelativeError, FastMath.abs((ref - gradient[0]) / ref));
}
......
......@@ -711,7 +711,7 @@ public class RangeTest {
public double value(final ParameterDriver parameterDriver) {
return measurement.estimate(0, 0, new SpacecraftState[] { state }).getEstimatedValue()[0];
}
}, drivers[i], 3, 0.1);
}, 3, 0.1 * drivers[i].getScale());
final double ref = dMkdP.value(drivers[i]);
if (printResults) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment