Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes fmilthaler#74. The sum() method returns an instance of numpy.in…
…t64 if the allocation only contains integers. An instance of numpy.int64 is not recognized as instance of int, as they are two different classes. This causes the error message since the total investment is not recognized as integer. Courious: trying with allocations equal to 20^(200), the returned number is an instance of "int" instead of "numpy.int64".
- Loading branch information