Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use int type for size in memoryview of spectrum buffer
The computation of the number of elements in a spectrum buffer has a result with type Pysize_t under python3, which the memoryview constructor doesn't like. Converting the value to an integer fixes the problem.
- Loading branch information