Skip to content

Commit 0629add

Browse files
Fix issue opencv#5234 (UMat::convertTo when noScale)
1 parent 680efe1 commit 0629add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/umatrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ void UMat::convertTo(OutputArray _dst, int _type, double alpha, double beta) con
744744

745745
char cvt[2][40];
746746
ocl::Kernel k("convertTo", ocl::core::convert_oclsrc,
747-
format("-D srcT=%s -D WT=%s -D dstT=%s -D convertToWT=%s -D convertToDT=%s%s",
747+
format("-D srcT=%s -D WT=%s -D dstT=%s -D convertToWT=%s -D convertToDT=%s%s%s",
748748
ocl::typeToStr(sdepth), ocl::typeToStr(wdepth), ocl::typeToStr(ddepth),
749749
ocl::convertTypeStr(sdepth, wdepth, 1, cvt[0]),
750750
ocl::convertTypeStr(wdepth, ddepth, 1, cvt[1]),

0 commit comments

Comments
 (0)