Luc Maisonobe created MATH-1226:
-----------------------------------
Summary: Exception thrown in ode for a pair of close events
Key: MATH-1226
URL: https://issues.apache.org/jira/browse/MATH-1226
Project: Commons Math
Issue Type: Bug
Affects Versions: 3.5
Reporter: Luc Maisonobe
Priority: Minor
When two discrete events occur closer to each other than the convergence
threshold used for locating them, this sometimes triggers a
NumberIsTooLargeException.
The exception happens because the EventState class think the second event is
simply a numerical artifact (a repetition of the already triggerred first
event) and tries to skip past it. If there are no other event in the same step
later on, one interval boundary finally reach step end and the interval bounds
are reversed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)