New submission from Dmitrey <[email protected]>:
>>> from numpy import inf
>>> from numpy.linalg import norm
>>> norm((1,2,3),inf)
3
>>>> from numpy import inf
>>>> from numpy.linalg import norm
>>>> norm((1,2,3),inf)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/dmitrey/Install/pypy-c-jit-70035-049d8d5677f9-linux/site-packages/numpy/linalg/linalg.py",
line 2067, in norm
return abs(x).max(axis=axis)
TypeError: expected integer, got tuple object
----------
messages: 6630
nosy: Dmitrey, pypy-issue
priority: bug
status: unread
title: numpy: bug with linalg.norm
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1718>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue