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
89836792
Commit
89836792
authored
Jan 19, 2023
by
Luc Maisonobe
Browse files
Fixed regression introduced in ImpulseManeuver when fixing issue
#1017
.
Fixes
#1020
parent
0f3cd591
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/changes/changes.xml
View file @
89836792
...
...
@@ -21,6 +21,9 @@
</properties>
<body>
<release
version=
"12.0"
date=
"TBD"
description=
"TBD"
>
<action
dev=
"luc"
type=
"fix"
issue=
"1020"
>
Fixed regression introduced in ImpulseManeuver when fixing issue 1017.
</action>
<action
dev=
"luc"
type=
"update"
issue=
"1017"
>
Removed generics in EventHandler.
</action>
...
...
src/main/java/org/orekit/forces/maneuvers/ImpulseManeuver.java
View file @
89836792
...
...
@@ -196,7 +196,7 @@ public class ImpulseManeuver extends AbstractDetector<ImpulseManeuver> {
// filter underlying event
final
ImpulseManeuver
im
=
(
ImpulseManeuver
)
detector
;
final
Action
underlyingAction
=
im
.
trigger
.
getHandler
().
eventOccurred
(
s
,
detecto
r
,
increasing
);
final
Action
underlyingAction
=
im
.
trigger
.
getHandler
().
eventOccurred
(
s
,
im
.
trigge
r
,
increasing
);
return
(
underlyingAction
==
Action
.
STOP
)
?
Action
.
RESET_STATE
:
Action
.
CONTINUE
;
...
...
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