projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c77787
)
fixed compile error under win32
author
Maria Dimashova
<no@email>
Thu, 25 Nov 2010 09:22:22 +0000
(09:22 +0000)
committer
Maria Dimashova
<no@email>
Thu, 25 Nov 2010 09:22:22 +0000
(09:22 +0000)
modules/features2d/include/opencv2/features2d/features2d.hpp
patch
|
blob
|
history
diff --git
a/modules/features2d/include/opencv2/features2d/features2d.hpp
b/modules/features2d/include/opencv2/features2d/features2d.hpp
index
b7f551a
..
a291911
100644
(file)
--- a/
modules/features2d/include/opencv2/features2d/features2d.hpp
+++ b/
modules/features2d/include/opencv2/features2d/features2d.hpp
@@
-1804,7
+1804,7
@@
struct CV_EXPORTS L2
ResultType diff = a[i] - b[i];
result += diff*diff;
}
- return
sqrt(
result);
+ return
(ResultType)sqrt((double)
result);
}
};