minor error in Problem 92
quq99 opened this issue · 1 comments
quq99 commented
When I run problem 92, I have this problem. It seems the dimension of the matrix should be "int"
TypeError Traceback (most recent call last)
in
1 # Author: Ryan G.
2
----> 3 x = np.random.rand(5e7)
4
5 get_ipython().run_line_magic('timeit', 'np.power(x,3)')
mtrand.pyx in mtrand.RandomState.rand()
mtrand.pyx in mtrand.RandomState.random_sample()
mtrand.pyx in mtrand.cont0_array()
TypeError: 'float' object cannot be interpreted as an integer
quq99 commented
I already create a PR^_^