Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

BUG larry.cumsum and cumprod give int16 ouput with int16 input #59

Closed
kwgoodman opened this Issue · 0 comments

1 participant

@kwgoodman
Owner

When int input is less than system default then output of larry.cumsum() and larry.cumprod() should be system default int.

For example, on my 64 bit system the default numpy int is np.int64. So if I take the cumsum of a np.int32 larry then the output should be a np.int64 larry. The current behavior is to return a np.int32 larry.

@kwgoodman kwgoodman closed this issue from a commit
@kwgoodman BUG Proper int promotion in cumsum and cumprod.
Closes #59. All unit tests now pass.
d37aad3
@kwgoodman kwgoodman closed this in d37aad3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.