Commit 5046b7c1 authored by Bryan Cazabonne's avatar Bryan Cazabonne
Browse files

Fixed NullPointerException in DSSTHarvester.

parent 903055eb
......@@ -194,7 +194,7 @@ public class DSSTHarvester extends AbstractMatricesHarvester {
// Initialize B4
final List<String> names = getJacobiansColumnsNames();
final RealMatrix B4 = MatrixUtils.createRealMatrix(STATE_DIMENSION, columnsNames.size());
final RealMatrix B4 = MatrixUtils.createRealMatrix(STATE_DIMENSION, names.size());
// add the short period terms
for (int j = 0; j < names.size(); ++j) {
......@@ -278,6 +278,7 @@ public class DSSTHarvester extends AbstractMatricesHarvester {
for (final double[] row : shortPeriodDerivativesStm) {
Arrays.fill(row, 0.0);
}
shortPeriodDerivativesJacobianColumns.clear();
final DSSTGradientConverter converter = new DSSTGradientConverter(reference, propagator.getAttitudeProvider());
......
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