[Numpy-discussion] missing function in numpy.ma?

Charles Doutriaux doutriaux1@llnl....
Tue Apr 1 11:36:19 CDT 2008


Hi Travis,

I get this:

    import numpy, numpy.oldnumeric.ma as MA, numpy.oldnumeric as 
Numeric, PropertiedClasses
  File 
"/lgm/cdat/latest/lib/python2.5/site-packages/numpy/oldnumeric/ma.py", 
line 2204, in <module>
    array.mean = _m(average)
NameError: name 'average' is not defined

C.

Travis E. Oliphant wrote:
> Charles Doutriaux wrote:
>   
>> Hi Pierre,
>>
>> I"m ccing Bob on this, he's the main developper for cdms2 package.
>>     
> I've uploaded the original ma.py file back into oldnumeric so that 
> oldnumeric.ma should continue to work as before.  Can you verify this?
>
> Thanks,
>
> -Travis O.
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>   


More information about the Numpy-discussion mailing list