remove reciprocal version of cuda::divide

it might cause errors, due to implicit type conversion and another cuda::divide
overload
This commit is contained in:
Vladislav Vinogradov
2014-12-24 13:35:23 +03:00
parent 00e7816c1b
commit 3d0410c147
2 changed files with 2 additions and 8 deletions

View File

@@ -130,12 +130,6 @@ This function, in contrast to divide, uses a round-down rounding mode.
*/
CV_EXPORTS void divide(InputArray src1, InputArray src2, OutputArray dst, double scale = 1, int dtype = -1, Stream& stream = Stream::Null());
//! computes element-wise weighted reciprocal of an array (dst = scale/src2)
static inline void divide(double src1, InputArray src2, OutputArray dst, int dtype = -1, Stream& stream = Stream::Null())
{
divide(src1, src2, dst, 1.0, dtype, stream);
}
/** @brief Computes per-element absolute difference of two matrices (or of a matrix and scalar).
@param src1 First source matrix or scalar.