]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - src/dynmem.hpp
Print better CUDA error messages
[hercules2020/kcf.git] / src / dynmem.hpp
index c72fb3044d4836f37d8ffb34976bd1bd7406469d..54de168dc638255d1826fff7912128ba5e35bac8 100644 (file)
@@ -150,7 +150,7 @@ public:
         assert(int(feature) < size[1]);
         return cv::Mat(size[2], size[3], cv::Mat::type(), ptr(scale, feature));
     }
-    cv::Mat features(uint scale) {
+    cv::Mat scale(uint scale) {
         assert(dims == 4);
         assert(int(scale) < size[0]);
         return cv::Mat(3, std::vector<int>({size[1], size[2], size[3]}).data(), cv::Mat::type(), ptr(scale));