Commit 2d36ba21 authored by Andrey Morozov's avatar Andrey Morozov

minor fix

parent ffe7bdf6
......@@ -49,7 +49,7 @@
using namespace cv::gpu;
using namespace cv::gpu::impl;
__constant__ __align__(16) double scalar_d[4];
__constant__ double scalar_d[4];
namespace mat_operators
{
......@@ -267,7 +267,7 @@ namespace cv
CopyToFunc func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat_src, mat_dst, mask, channels);
}
......@@ -321,7 +321,7 @@ namespace cv
SetToFunc_without_mask func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat, channels);
}
......@@ -350,7 +350,7 @@ namespace cv
SetToFunc_with_mask func = tab[depth];
if (func == 0) error("Operation \'ConvertTo\' doesn't supported on your GPU model", __FILE__, __LINE__);
if (func == 0) cv::gpu::error("Unsupported convert operation", __FILE__, __LINE__);
func(mat, mask, channels);
}
......@@ -410,4 +410,4 @@ namespace cv
}
} // namespace impl
} // namespace gpu
} // namespace cv
} // namespace cv
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment