scipy / scipy-cookbook

Scipy Cookbook
https://scipy-cookbook.readthedocs.io/
Other
470 stars 181 forks source link

line 136, in accum vals[indx].append(val) AttributeError: 'numpy.ndarray' object has no attribute 'append' #12

Closed evgenykam closed 7 years ago

evgenykam commented 7 years ago

Hi, I'm trying to run your function on Pyhton3.4, but getting the following error:

File "./demo_non_local_dehazing.py", line 136, in accum vals[indx].append(val) AttributeError: 'numpy.ndarray' object has no attribute 'append'

How can I solve this issue?

Thank you in advance! Evgeny

pv commented 7 years ago

This is user-contributed content, and the authors of the pages do not follow this issue tracker. As explained in the text box where you wrote your message: . Note that the cookbook is uncurated user-contributed content: for errors or typos etc. in the notebooks, please send pull requests fixing them rather than reporting them.