Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-937

NoBracketingException after event was found

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2
    • Labels:
      None

      Description

      The BracketingNthOrderBrentSolver used by the EmbeddedRungeKuttaIntegrator fails, if an event is detected twice with a NoBracketingException.

      The problem lies in line EventState.java line 262 (version 3.1.1). Here the event detection function f is applied to an arbitrary choosen value of time. If the event detector crosses zero before this time, the solver throws the mentioned exception.

        Attachments

        1. ApacheCommonsBouncingBall.java
          1 kB
          Christoph Höger
        2. ApacheCommonsBouncingBallTest.java
          0.7 kB
          Christoph Höger

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              choeger Christoph Höger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: