Merge pull request #57 from MikeBloom914/patch-1

Update with corrected answer #53
This commit is contained in:
Nicolas P. Rougier authored and GitHub committed 2018-02-21 18:45:51 +01:00
commit 6c26468543
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1113,8 +1113,8 @@
},
"outputs": [],
"source": [
"Z = np.arange(10, dtype=np.int32)\n",
"Z = Z.astype(np.float32, copy=False)\n",
"Z = np.arange(10, dtype=np.float32)\n",
"Z = Z.astype(np.int32, copy=False)\n",
"print(Z)"
]
},
+2 -2
View File
@@ -527,8 +527,8 @@ print(D)
```python
Z = np.arange(10, dtype=np.int32)
Z = Z.astype(np.float32, copy=False)
Z = np.arange(10, dtype=np.float32)
Z = Z.astype(np.int32, copy=False)
print(Z)
```