Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG larry.cumsum and cumprod give int16 ouput with int16 input #59
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.