Commit 00056592 authored by Bryan Cazabonne's avatar Bryan Cazabonne

See commit @64172568.

parent b2fa1997
......@@ -666,7 +666,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));
}
......
......@@ -683,7 +683,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