From d8c9bb777ef4a4a9c4eed522d7dde7aba21cbaa8 Mon Sep 17 00:00:00 2001 From: Ievgen Khvedchenia Date: Sat, 26 Apr 2014 23:34:07 +0300 Subject: [PATCH] Fix return value of descriptorType() --- modules/features2d/src/akaze.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features2d/src/akaze.cpp b/modules/features2d/src/akaze.cpp index 8cba3b6d20..2083ce8d7f 100644 --- a/modules/features2d/src/akaze.cpp +++ b/modules/features2d/src/akaze.cpp @@ -45,11 +45,11 @@ namespace cv { if (descriptor < MLDB_UPRIGHT) { - return CV_32FC1; + return CV_32F; } else { - return CV_8UC1; + return CV_8U; } }