Skip to content
Snippets Groups Projects
Commit f2d044ba authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Updated tutorials after Orekit API change.

parent 773d6781
No related branches found
No related tags found
No related merge requests found
Pipeline #7772 failed
......@@ -152,7 +152,7 @@ public class CovariancePropagation {
// Set up covariance matrix provider and add it to the propagator
final StateCovarianceMatrixProvider provider = new StateCovarianceMatrixProvider("covariance", stmAdditionalName,
harvester, covInit);
propagator.addAdditionalStateProvider(provider);
propagator.addAdditionalDataProvider(provider);
// Perform propagation
final AbsoluteDate targetEpoch = stateInit.getDate().shiftedBy(Constants.JULIAN_DAY);
......
......@@ -710,7 +710,7 @@ public class DSSTPropagation {
if (shortPeriodCoefficients.isEmpty()) {
// we want all available coefficients,
// they correspond to the additional states
for (final DoubleArrayDictionary.Entry entry : s.getAdditionalStatesValues().getData()) {
for (final DoubleArrayDictionary.Entry entry : s.getAdditionalDataValues().toDoubleDictionary().getData()) {
shortPeriodCoefficients.add(entry.getKey());
}
Collections.sort(shortPeriodCoefficients);
......
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