New submission from lesshaste <[email protected]>:

Some simple code fails with the error 

Traceback (most recent call last):
  File "app_main.py", line 72, in run_toplevel
  File "counterfeit.py", line 9, in <module>
    F = np.matrix(list(itertools.product([0,1],repeat = n))).transpose()
  File "/usr/local/lib/pypy2.7/dist-packages/numpy/matrixlib/defmatrix.py", line
279, in __new__
    if (ndim == 2) and arr.flags.fortran:
AttributeError: 'ndarray' object has no attribute 'flags'

----------
files: counterfeit.py
messages: 6414
nosy: lesshaste, pypy-issue
priority: bug
status: unread
title: numpy failing with AttributeError: 'ndarray' object has no attribute 
'flags'

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1657>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to