From c90fe65f22508271e0723860739afdeec1ed5e73 Mon Sep 17 00:00:00 2001 From: Mathieu Barnachon Date: Sun, 24 Nov 2013 17:16:45 +0100 Subject: [PATCH] Fix compilation issue related to previous commit. --- modules/features2d/src/bagofwords.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/src/bagofwords.cpp b/modules/features2d/src/bagofwords.cpp index 21301050c..a98b9723c 100644 --- a/modules/features2d/src/bagofwords.cpp +++ b/modules/features2d/src/bagofwords.cpp @@ -201,7 +201,7 @@ void BOWImgDescriptorExtractor::compute( const Mat& keypointDescriptors, Mat& im } // Normalize image descriptor. - imgDescriptor /= descriptors.rows; + imgDescriptor /= keypointDescriptors.rows; } }