fix documentation warning
authorSebastian Krämer <mail@kraymer.de>
Tue, 8 Oct 2013 14:49:20 +0000 (16:49 +0200)
committerSebastian Krämer <mail@kraymer.de>
Tue, 8 Oct 2013 14:49:20 +0000 (16:49 +0200)
modules/ocl/doc/operations_on_matrices.rst
modules/ocl/src/arithm.cpp

index 6c6df90..7efd719 100644 (file)
@@ -7,7 +7,7 @@ ocl::abs
 ------------------
 Returns void
 
-.. ocv:function:: void ocl::absdiff(const oclMat& src, oclMat& dst)
+.. ocv:function:: void ocl::abs(const oclMat& src, oclMat& dst)
 
     :param src: input array.
 
index ef89755..3015912 100644 (file)
@@ -219,10 +219,10 @@ void cv::ocl::max(const oclMat &src1, const oclMat &src2, oclMat &dst)
 /////////////////////////////Abs, Absdiff ////////////////////////////////////
 //////////////////////////////////////////////////////////////////////////////
 
-void cv::ocl::abs(const oclMat &src1, oclMat &dst)
+void cv::ocl::abs(const oclMat &src, oclMat &dst)
 {
     // explicitly uses use_scalar (even if zero) so that the correct kernel is used
-    arithmetic_run_generic(src1, oclMat(), Scalar(), oclMat(), dst, ABS, true);
+    arithmetic_run_generic(src, oclMat(), Scalar(), oclMat(), dst, ABS, true);
 }
 
 void cv::ocl::absdiff(const oclMat &src1, const oclMat &src2, oclMat &dst)