BUG: special/specfun: fix bug in MTU12 #489

Merged
merged 1 commit into from Mar 29, 2013

2 participants

@pv
SciPy member
pv commented Mar 28, 2013

Off-by-one error in the order up to which the Bessel functions were
computed (the arrays are accessed up to KM+1). Doesn't seem to affect
results much as the series seems mostly to converge before reaching the
limit.

Closes Trac #1847

@pv pv BUG: special/specfun: fix bug in MTU12
Off-by-one error in the order up to which the Bessel functions were
computed (the arrays are accessed up to KM+1). Doesn't seem to affect
results much as the series seems mostly to converge before reaching the
limit.

Covered by test_mathieu_modsem2 (see Trac #1847)
8bcdd37
@rgommers
SciPy member

Thanks @pv. Tests pass, so merging.

@rgommers rgommers merged commit 4fe03a7 into scipy:master Mar 29, 2013
@rgommers
SciPy member

backported to 0.12.x in 0476cae

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment