From 3bdb086509f21e557f4d7279412a3c60b2466d8e Mon Sep 17 00:00:00 2001 From: Antonin Riha Date: Mon, 8 Feb 2021 12:37:39 +0100 Subject: [PATCH] fixed bug __dealloc instead of __dealloc__ --- python/KCF.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/KCF.pyx b/python/KCF.pyx index 56671b0..185c816 100644 --- a/python/KCF.pyx +++ b/python/KCF.pyx @@ -13,7 +13,7 @@ cdef class kcftracker: def __cinit__(self, hog, fixed_window, multiscale, lab): self.classptr = new KCFTracker(hog, fixed_window, multiscale, lab) - def __dealloc(self): + def __dealloc__(self): del self.classptr def init(self, rectlist, ary):