Commit a8345b35 authored by LUGAN's avatar LUGAN
Browse files

Make sure the lastG/lastT values are consistent in case of g() raising exception

parent 93b6a399
Pipeline #1240 canceled with stages
......@@ -154,8 +154,8 @@ public class EventState<T extends EventDetector> {
private double g(final SpacecraftState s) {
if (!s.getDate().equals(lastT)) {
lastT = s.getDate();
lastG = detector.g(s);
lastT = s.getDate();
return lastG;
Supports Markdown
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