Skip to content

Commit

Permalink
Return a float from Cython implementation of HoppingWindow.ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
forsberg committed Nov 16, 2020
1 parent 3b4db33 commit f4bf390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faust/_cython/windows.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cdef class HoppingWindow:
r = []
for start in range(int(start), int(timestamp) + 1, int(self.step)):
end = start + self.size - 0.1
r.append((start, end))
r.append((float(start), end))
return r

cdef double _start_initial_range(self, double timestamp):
Expand Down

0 comments on commit f4bf390

Please sign in to comment.