Hi,

I found that trapz() doesn't work with subclasses:

http://projects.scipy.org/numpy/ticket/1438

A simple patch (attached) to change asarray() to asanyarray() fixes
the problem fine.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

Attachment: fix_trapz_subclass.diff
Description: Binary data

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to