Skip to content

Commit 9fbce6c

Browse files
committed
fix multiband_blend.cu build error in issue opencv_contrib#1012
1 parent 526220a commit 9fbce6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/stitching/src/cuda/multiband_blend.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ namespace cv { namespace cuda { namespace device
9090

9191
if (x < width && y < height)
9292
{
93-
static const float WEIGHT_EPS = 1e-5f;
93+
const float WEIGHT_EPS = 1e-5f;
9494
const short3 v = ((short3*)src.ptr(y))[x];
9595
float w = weight.ptr(y)[x];
9696
((short3*)src.ptr(y))[x] = make_short3(static_cast<short>(v.x / (w + WEIGHT_EPS)),

0 commit comments

Comments
 (0)