summaryrefslogtreecommitdiff
path: root/simpl/peak_detection.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'simpl/peak_detection.pyx')
-rw-r--r--simpl/peak_detection.pyx3
1 files changed, 2 insertions, 1 deletions
diff --git a/simpl/peak_detection.pyx b/simpl/peak_detection.pyx
index 12f47b2..8987564 100644
--- a/simpl/peak_detection.pyx
+++ b/simpl/peak_detection.pyx
@@ -2,6 +2,7 @@ import numpy as np
cimport numpy as np
np.import_array()
from libcpp.vector cimport vector
+from libcpp cimport bool
from base cimport Peak
from base cimport Frame
@@ -29,7 +30,7 @@ cdef class PeakDetection:
property static_frame_size:
def __get__(self): return self.thisptr.static_frame_size()
- def __set__(self, int i): self.thisptr.static_frame_size(i)
+ def __set__(self, bool b): self.thisptr.static_frame_size(b)
def next_frame_size(self):
return self.thisptr.next_frame_size()