21 May
2009
21 May
'09
8:35 a.m.
Hi Dmitrey 2009/5/21 dmitrey <dmitrey.kroshko@scipy.org>:
hi all, I have tried the example from numpy/add_newdocs.py
np.ldexp(5., 2) but instead of the 20 declared there it yields TypeError: function not supported for these types, and can't coerce safely to supported types
I could not reproduce the problem on current SVN: In [6]: np.ldexp(5., 2) Out[6]: 20.0 In [7]: np.ldexp(np.array([5., 2.]), np.array([2, 1])) Out[7]: array([ 20., 4.]) Regards Stéfan