[pypy-issue] [issue1718] numpy: bug with linalg.norm

Dmitrey tracker at bugs.pypy.org
Tue Mar 25 15:31:28 CET 2014


New submission from Dmitrey <dmitrey15 at ukr.net>:

>>> 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 <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1718>
________________________________________


More information about the pypy-issue mailing list