Opened 10 years ago

Closed 10 years ago

Last modified 10 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:

Description

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 (3)

comment:1 by John Maddock, 10 years ago

Status: newassigned

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

comment:2 by John Maddock, 10 years ago

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 by John Maddock, 10 years ago

Milestone: To Be DeterminedBoost 1.52.0
Note: See TracTickets for help on using tickets.