Modify

Ticket #7135 (closed Bugs: fixed)

Opened 22 months ago

Last modified 21 months 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:

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.

Attachments

Change History

comment:1 Changed 22 months 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 22 months 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 21 months ago by johnmaddock

  • Milestone changed from To Be Determined to Boost 1.52.0
View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.