Switch float to integer on question #53

Related to PR #57
This commit is contained in:
MikeBloom914 2018-02-20 12:40:50 -05:00 committed by GitHub
parent 2bc183133c
commit a8ec85db11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
```