From 3869d38671de6452a0fda79128ea105d24dde74a Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 9 Jul 2012 10:47:09 +0000 Subject: [PATCH] fixed typo in SURF detector #2149 --- modules/nonfree/src/surf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nonfree/src/surf.cpp b/modules/nonfree/src/surf.cpp index d70624e..1367cc6 100644 --- a/modules/nonfree/src/surf.cpp +++ b/modules/nonfree/src/surf.cpp @@ -457,7 +457,7 @@ struct KeypointGreater if(kp1.octave < kp2.octave) return false; if(kp1.pt.y < kp2.pt.y) return false; if(kp1.pt.y > kp2.pt.y) return true; - return kp1.pt.x < kp2.pt.y; + return kp1.pt.x < kp2.pt.x; } }; -- 2.7.4