minor fix
This commit is contained in:
parent
ffe7bdf69c
commit
2d36ba2175
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user