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: John Maddock
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 John Maddock

Status: newassigned

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

comment:2 Changed 5 years ago by John Maddock

Resolution: fixed
Status: assignedclosed

(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 John Maddock

Milestone: To Be DeterminedBoost 1.52.0

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.