summarylogtreecommitdiffstats
path: root/fix-ambiguous-call.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-ambiguous-call.patch')
-rw-r--r--fix-ambiguous-call.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix-ambiguous-call.patch b/fix-ambiguous-call.patch
new file mode 100644
index 000000000000..e17ca54ff572
--- /dev/null
+++ b/fix-ambiguous-call.patch
@@ -0,0 +1,13 @@
+diff --git a/src/nodelet/lk_flow_nodelet.cpp b/src/nodelet/lk_flow_nodelet.cpp
+index 24825ad..533e5ab 100644
+--- a/src/nodelet/lk_flow_nodelet.cpp
++++ b/src/nodelet/lk_flow_nodelet.cpp
+@@ -159,7 +159,7 @@ class LKFlowNodelet : public opencv_apps::Nodelet
+ if( needToInit )
+ {
+ // automatic initialization
+- cv::goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, cv::Mat(), 3, 0, 0.04);
++ cv::goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, cv::Mat(), 3, false, 0.04);
+ cv::cornerSubPix(gray, points[1], subPixWinSize, cv::Size(-1,-1), termcrit);
+ addRemovePt = false;
+ }