Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7135 closed Bugs (fixed)

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.

Attachments (0)

Change History (3)

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

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

(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 Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain johnmaddock.
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.