Merge pull request #84 from quq99/master
fix issue about problem 92 TypeError
This commit is contained in:
commit
33ee5ada7f
@ -1938,7 +1938,7 @@
|
||||
"source": [
|
||||
"# Author: Ryan G.\n",
|
||||
"\n",
|
||||
"x = np.random.rand(5e7)\n",
|
||||
"x = np.random.rand(int(5e7))\n",
|
||||
"\n",
|
||||
"%timeit np.power(x,3)\n",
|
||||
"%timeit x*x*x\n",
|
||||
|
@ -1091,7 +1091,7 @@ print(R)
|
||||
```python
|
||||
# Author: Ryan G.
|
||||
|
||||
x = np.random.rand(5e7)
|
||||
x = np.random.rand(int(5e7))
|
||||
|
||||
%timeit np.power(x,3)
|
||||
%timeit x*x*x
|
||||
|
Loading…
Reference in New Issue
Block a user