[Numpy-discussion] Bug in RandomArray.multivariate_normal?

Aureli Soria Frisch Aureli.Soria_Frisch at ipk.fhg.de
Fri Jul 27 12:14:04 CDT 2001


Hi,

Folllowing could be a bug:

>Traceback (most recent call last):
>  File "<input>", line 1, in ?
>  File "macintosh hd:compiler:python
>2.0:extensions:numerical:lib:packages:RandomArray.py", line 120, in
>multivariate_normal
>    final_shape.append(mean.shape[0])
>AttributeError: 'tuple' object has no attribute 'append'

should be:  final_shape=final_shape+(mean.shape[0],)

or am I missing something?

Thanks

#################################
Aureli Soria Frisch
Fraunhofer IPK
Dept. Pattern Recognition

post: Pascalstr. 8-9, 10587 Berlin, Germany
e-mail:aureli at ipk.fhg.de
fon: +49 30 39006-150
fax: +49 30 3917517
#################################






More information about the Numpy-discussion mailing list