Skip to content

Conversation

@kuramogura
Copy link
Contributor

Fix the following warning.

DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  J = np.zeros_like(nodes, dtype=np.int)

@mmcky
Copy link
Contributor

mmcky commented Jul 7, 2021

thanks @kuramogura

@jstac
Copy link
Contributor

jstac commented Jul 9, 2021

Thanks @kuramogura , looks good to me.

If you have time, similar PRs for the Python lectures on quantecon.org would be greatly appreciated ;-)

@mmcky mmcky merged commit 2881ac4 into QuantEcon:main Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants