Skip to content

Conversation

@TomDLT
Copy link
Contributor

@TomDLT TomDLT commented Jan 24, 2023

Fixes #478

Numpy 1.24 has expired some deprecation warnings and now raises errors. Here are the fixes for pycortex:

  • Changes np.int into int, and np.float into float (dtype) or np.float_ (casting function).
  • Use explicitly np.array(..., dtype="object") to allow arrays of arrays of different lengths.

@TomDLT TomDLT changed the title MNT stop using np.int and np.float FIX stop using expired deprecation for numpy 1.24 Jan 24, 2023
@mvdoc mvdoc merged commit 56f6307 into gallantlab:main Jan 25, 2023
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.

Docs fail with recent versions of numpy

2 participants