ufoym / agpy

Automatically exported from code.google.com/p/agpy
MIT License
1 stars 0 forks source link

plfit.py wrong import #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/agpy/source/browse/trunk/plfit/plfit.py
in line 66:
x = np.array(x)

however, you didn't import numpy as np. Should be:
x = numpy.array(x)

Original issue reported on code.google.com by Sa...@skimlinks.com on 20 Nov 2012 at 7:29

GoogleCodeExporter commented 9 years ago
Yep, good catch, fixed it.   Should have caught it with my tests.  Closing this 
one, opening new issue...

Original comment by keflavich on 20 Nov 2012 at 9:39