emcee icon indicating copy to clipboard operation
emcee copied to clipboard

Numpy Future Warning

Open ceb8 opened this issue 7 years ago • 0 comments

General information:

  • emcee version: 2.2.1
  • platform: linux
  • installation method (pip/conda/source/other?): pip

Problem description:

I get the following future warning when running emcee:

...emcee/autocorr.py:41: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.

Obviously this is not a problem now, but at some point in the future it will become one.

ceb8 avatar Dec 05 '18 16:12 ceb8