]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - src/complexmat.cuh
Move scale_track method from KCF to ThreadCtx
[hercules2020/kcf.git] / src / complexmat.cuh
index 940900e7aa141281f898348238eeeae097acfa5f..cf1389a60c68843e56637051d89d23857d7b8b67 100644 (file)
@@ -72,7 +72,7 @@ class ComplexMat {
         CudaSafeCall(cudaMalloc(&p_data, n_channels * cols * rows * sizeof(cufftComplex)));
     }
     // cv::Mat API compatibility
-    cv::Size size() { return cv::Size(cols, rows); }
+    cv::Size size() const { return cv::Size(cols, rows); }
     int channels() { return n_channels; }
     int channels() const { return n_channels; }