Duplicate Events when close to another event.
An event handler is called twice in some instances when there are two close events. May be related to fixing issue when close events were skipped.
Test case for in NumericalPropagatorTest:
~
@Test
public void testTestVeryCloseEventsNoDuplicates() throws
PropagationException {
// setup
AbsoluteDate d1 = initDate.shiftedBy(99);
AbsoluteDate d2 = d1.shiftedBy(1e-15);
final RecordAndContinue handler =
new RecordAndContinue();
EventDetector detector =
new DateDetector(10, 1e-9, d1).withHandler(handler);
propagator.addEventDetector(detector);
detector = new DateDetector(10, 1e-9, d2).withHandler(handler);
propagator.addEventDetector(detector);
propagator.propagate(initDate.shiftedBy(300));
Assert.assertEquals(handler.getEvents().size(), 2);
}
~
(from redmine: issue id 239, created on 2016-04-15, closed on 2016-06-29)