Ticket #7135 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

Incorrect computation of the Hankel function

Reported by: Gleb Grenkin <glebgrenkin@…> Owned by: johnmaddock
Milestone: Boost 1.52.0 Component: math
Version: Boost 1.50.0 Severity: Problem
Keywords: hankel Cc:


I found that BOOST computes Hankel function H_\nu(1)(x) incorrectly for example for \nu = -1, x = -1 and for negative x and odd \nu.


Change History

comment:1 Changed 5 years ago by johnmaddock

  • Status changed from new to assigned

Confirmed, there's a typo in the calculation of the sign term. Testing fix now...

comment:2 Changed 5 years ago by johnmaddock

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [79510]) Fix typo in Hankel function implementation that causes incorrect values to be returned for x < 0 and v an odd integer. Add additional Hankel function tests. Add a couple of missing header inclusion tests. Update history in docs, and regenerate HTML. Fixes #7135.

comment:3 Changed 5 years ago by johnmaddock

  • Milestone changed from To Be Determined to Boost 1.52.0

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.