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
Alberto Fossà
Orekit
Commits
72317d81
Commit
72317d81
authored
Dec 24, 2021
by
Luc Maisonobe
Browse files
Fixed test after changes in maneuvers derivatives.
parent
59c2d116
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/orekit/propagation/numerical/StateTransitionMatrixGeneratorTest.java
View file @
72317d81
...
...
@@ -158,7 +158,7 @@ public class StateTransitionMatrixGeneratorTest {
// intermediate state has really different matrices, they are still building up
Assert
.
assertEquals
(
0.1253
,
stmI
.
subtract
(
stm1
).
getNorm1
()
/
stm1
.
getNorm1
(),
1.0
e
-
4
);
Assert
.
assertEquals
(
0.0
16
5
,
jacobianI
.
subtract
(
jacobian1
).
getNorm1
()
/
jacobian1
.
getNorm1
(),
1.0
e
-
4
);
Assert
.
assertEquals
(
0.0
22
5
,
jacobianI
.
subtract
(
jacobian1
).
getNorm1
()
/
jacobian1
.
getNorm1
(),
1.0
e
-
4
);
// restarting propagation where we left it
final
SpacecraftState
state2
=
propagator2
.
propagate
(
firing
.
shiftedBy
(
2
*
duration
));
...
...
@@ -167,7 +167,7 @@ public class StateTransitionMatrixGeneratorTest {
// after completing the two-stage propagation, we get the same matrices
Assert
.
assertEquals
(
0.0
,
stm2
.
subtract
(
stm1
).
getNorm1
(),
1.0
e
-
13
*
stm1
.
getNorm1
());
Assert
.
assertEquals
(
0.0
,
jacobian2
.
subtract
(
jacobian1
).
getNorm1
(),
8
.0
e
-
1
3
*
jacobian1
.
getNorm1
());
Assert
.
assertEquals
(
0.0
,
jacobian2
.
subtract
(
jacobian1
).
getNorm1
(),
3
.0
e
-
1
4
*
jacobian1
.
getNorm1
());
}
...
...
Write
Preview
Supports
Markdown
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