From d51d05fc448b456c6191257b90055f93071ec88e Mon Sep 17 00:00:00 2001
From: Gurpinder Singh Sandhu <gpsinghsandhu@yahoo.com>
Date: Thu, 4 Apr 2013 23:12:18 +0530
Subject: [PATCH] Feature description tutorials made in sync with sample code

sample code : https://github.com/Itseez/opencv/blob/master/samples/cpp/tutorial_code/features2D/SURF_descriptor.cpp

Bug #2888
---
 .../features2d/feature_description/feature_description.rst      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/tutorials/features2d/feature_description/feature_description.rst b/doc/tutorials/features2d/feature_description/feature_description.rst
index fe9b7cdbff..6f364e03e1 100644
--- a/doc/tutorials/features2d/feature_description/feature_description.rst
+++ b/doc/tutorials/features2d/feature_description/feature_description.rst
@@ -69,7 +69,7 @@ This tutorial code's is shown lines below. You can also download it from `here <
      extractor.compute( img_2, keypoints_2, descriptors_2 );
 
      //-- Step 3: Matching descriptor vectors with a brute force matcher
-     BruteForceMatcher< L2<float> > matcher;
+     BFMatcher matcher(NORM_L2);
      std::vector< DMatch > matches;
      matcher.match( descriptors_1, descriptors_2, matches );