https://issues.apache.org/bugzilla/show_bug.cgi?id=55065

            Bug ID: 55065
           Summary: wasted work in Spline3.converge()
           Product: JMeter
           Version: 2.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 30400
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30400&action=edit
patch

The problem appears in version 2.9 and in revision 1489981.  I
attached a one-line patch that fixes it.

In method "Spline3.converge", the loop from 0 to "_n" should break
immediately after "converge" is set to "false".  All the iterations
after "converge" is set to "false" do not perform any useful work
because the "if (converge)" statement will always evaluate to "false"
and the "true" branch will never be taken again for the remaining
iterations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to