Unuseful g calls in the event detection
When a propagation is done with event detector, if the integration step
is smaller than the "maxCheck" of event detection, the "g" function is
called twice at each step (in other words, at both start and end of each
step).
This case occurs frequently for all events with few occurrences in the
orbit period (in such cases the "maxCheck" can be set to a high value
wrt orbital period).
It could be interesting to avoid these double computations, especially
when the g function is complex.
(from redmine: issue id 108, created on 2012-08-02, closed on 2012-08-02)