Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Future warning while executing #419

Closed
JuanVeron opened this issue Jan 30, 2018 · 1 comment
Closed

Future warning while executing #419

JuanVeron opened this issue Jan 30, 2018 · 1 comment

Comments

@JuanVeron
Copy link
Contributor

Summary:

While compiling C++ code I get a Future Warning

Description:

While running my script I get the following warning:

/usr/local/lib/python3.5/dist-packages/pystan/misc.py:399: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type

The script runs just fine after that.

Reproducible Steps:

Just running any script

PyStan Version:

2.17.1

Python Version:

3.5.2

Operating System:

Ubuntu 16.04.3 LTS

@ariddell
Copy link
Contributor

Thanks for the report. This should be easy to fix.

ariddell pushed a commit that referenced this issue Jan 31, 2018
Fixes issue #419 that prompts a FutureWarning due to a numpy change (as can be seen in numpy/numpy#9505)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants