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

Faux in-place operations modify dtype of array #205

Closed
hameerabbasi opened this Issue Nov 11, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@hameerabbasi
Copy link
Collaborator

hameerabbasi commented Nov 11, 2018

Example:

>>> import sparse
>>> a = sparse.eye(2, dtype='float32')
>>> b = sparse.eye(2, dtype='float64')
>>> import numpy as np
>>> c = np.positive(b, out=a)
>>> a.dtype
dtype('float64')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment