We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The shape of the inputs np.outer and np.multiply.outer is incorrect.
np.outer
np.multiply.outer
To Reproduce
>>> import numpy as np, sparse >>> s1 = sparse.random((2, 3), density=0.5) >>> s2 = sparse.random((3, 2), density=0.5) >>> sparse.outer(s1, s2).shape (3, 2, 2, 3) >>> np.outer(s1.todense(), s2.todense()).shape (6, 6) >>> np.multiply.outer(s1, s2).shape (3, 2, 2, 3) >>> np.multiply.outer(s1.todense(), s2.todense()).shape (2, 3, 3, 2)
Expected behavior The behavior should match NumPy.
System
sparse
'0.9.1+24.gf6b3465'
'1.18.1'
'0.49.1rc1'
Additional context First noticed by @Prabhat-LIINES in #345. See: #345 (comment)
The text was updated successfully, but these errors were encountered:
@Prabhat-LIINES if you pull from master this should be fixed.
master
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
The shape of the inputs
np.outer
andnp.multiply.outer
is incorrect.To Reproduce
Expected behavior
The behavior should match NumPy.
System
sparse
version:'0.9.1+24.gf6b3465'
'1.18.1'
'0.49.1rc1'
Additional context
First noticed by @Prabhat-LIINES in #345. See: #345 (comment)
The text was updated successfully, but these errors were encountered: