Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Orekit
Orekit
Commits
5046b7c1
Commit
5046b7c1
authored
Jan 12, 2022
by
Bryan Cazabonne
Browse files
Fixed NullPointerException in DSSTHarvester.
parent
903055eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/orekit/propagation/semianalytical/dsst/DSSTHarvester.java
View file @
5046b7c1
...
...
@@ -194,7 +194,7 @@ public class DSSTHarvester extends AbstractMatricesHarvester {
// Initialize B4
final
List
<
String
>
names
=
getJacobiansColumnsNames
();
final
RealMatrix
B4
=
MatrixUtils
.
createRealMatrix
(
STATE_DIMENSION
,
columnsN
ames
.
size
());
final
RealMatrix
B4
=
MatrixUtils
.
createRealMatrix
(
STATE_DIMENSION
,
n
ames
.
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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment