Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find replacement for inner1d() #77

Open
mgeier opened this issue Jan 23, 2019 · 2 comments
Open

Find replacement for inner1d() #77

mgeier opened this issue Jan 23, 2019 · 2 comments

Comments

@mgeier
Copy link
Member

mgeier commented Jan 23, 2019

This deprecation warning appears on Travis-CI when using Python 3.7 (using Ubuntu Xenial):

sfs/mono/drivingfunction.py:8
  /home/travis/build/sfstoolbox/sfs-python/sfs/mono/drivingfunction.py:8: DeprecationWarning: numpy.core.umath_tests is an internal NumPy module and should not be imported. It will be removed in a future NumPy release.
    from numpy.core.umath_tests import inner1d  # element-wise inner product

I don't know what's the best replacement for inner1d(), suggestions and PRs are very welcome!

@hagenw
Copy link
Member

hagenw commented Jan 23, 2019

Here are some suggestions: numpy/numpy#10815

@spors
Copy link
Member

spors commented Mar 6, 2019

One of the benefits of inner1d was parallel processing. This might not be the case for the replacements.

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

No branches or pull requests

3 participants