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

Numba nopython mode does not support numpy.cov #3496

Closed
cjiang18 opened this issue Nov 13, 2018 · 1 comment
Closed

Numba nopython mode does not support numpy.cov #3496

cjiang18 opened this issue Nov 13, 2018 · 1 comment

Comments

@cjiang18
Copy link

It seems that numba's nopython mode does not support numpy.cov

Here is a minimal reproducer.

from numba import jit
import numpy as np

@jit(nopython=True)
def test (x):
    y=np.random.randn(x,100000)
    return np.cov(y)

if __name__ == '__main__':

    print(test(5))
@stuartarchibald
Copy link
Contributor

Thanks for the request. This was added in #3345 and will make it into the next release. If you'd like to try it out before hand try a development package from the numba channel on https://anaconda.org (but please wait a few hours to try so we can promote some new builds with the feature in!):

$conda install -c numba numba

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants