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
Andrew Goetz
Orekit
Commits
617a600c
Commit
617a600c
authored
Dec 24, 2021
by
Luc Maisonobe
Browse files
Fixed SonarQube warning.
parent
59164d57
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/orekit/forces/maneuvers/jacobians/TriggerDate.java
View file @
617a600c
...
@@ -123,9 +123,6 @@ public class TriggerDate
...
@@ -123,9 +123,6 @@ public class TriggerDate
/** Threshold for decomposing state transition matrix at trigger time. */
/** Threshold for decomposing state transition matrix at trigger time. */
private
static
final
double
DECOMPOSITION_THRESHOLD
=
1.0
e
-
10
;
private
static
final
double
DECOMPOSITION_THRESHOLD
=
1.0
e
-
10
;
/** Zero state used before maneuver is triggered. */
private
static
final
double
[]
ZERO
=
new
double
[
STATE_DIMENSION
];
/** Name of the state for State Transition Matrix. */
/** Name of the state for State Transition Matrix. */
private
final
String
stmName
;
private
final
String
stmName
;
...
@@ -223,7 +220,7 @@ public class TriggerDate
...
@@ -223,7 +220,7 @@ public class TriggerDate
final
double
[]
c
=
contribution
==
null
?
null
:
contribution
.
get
(
state
.
getDate
());
final
double
[]
c
=
contribution
==
null
?
null
:
contribution
.
get
(
state
.
getDate
());
if
(
c
==
null
)
{
if
(
c
==
null
)
{
// no thrust, no effect
// no thrust, no effect
return
ZERO
;
return
new
double
[
STATE_DIMENSION
]
;
}
else
{
}
else
{
// primary effect: full maneuver contribution at (delayed) trigger date
// primary effect: full maneuver contribution at (delayed) trigger date
...
...
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