[Scipy-tickets] [SciPy] #1849: scipy.special.multigammaln returns a size 3 array when passed a size 1 array

SciPy Trac scipy-tickets@scipy....
Thu Feb 28 11:52:11 CST 2013


#1849: scipy.special.multigammaln returns a size 3 array when passed a size 1
array
---------------------------+------------------------------------------------
 Reporter:  jsalvatier     |       Owner:  pv         
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.special  |     Version:  0.11.0     
 Keywords:  multigammaln   |  
---------------------------+------------------------------------------------
Changes (by warren.weckesser):

  * keywords:  => multigammaln
  * owner:  somebody => pv
  * component:  Other => scipy.special


Old description:

> In [14]:
>
> import scipy.special
> scipy.special.multigammaln([2.1], 3)
> Out[14]:
> array([ 1.76253257,  1.60450306,  1.66722239])
>
> This should return only 1 value, but it returns 3.
> I'm on scipy 11.0b1, but I don't see any commits that fix this.

New description:

 {{{
 In [14]:

 import scipy.special
 scipy.special.multigammaln([2.1], 3)
 Out[14]:
 array([ 1.76253257,  1.60450306,  1.66722239])
 }}}

 This should return only 1 value, but it returns 3.
 I'm on scipy 11.0b1, but I don't see any commits that fix this.

--

Comment:

 The bug still exists in the master branch.  I'll submit a pull request
 with a fix soon.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1849#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list