Skip to content

Commit e192c68

Browse files
committed
Merge pull request opencv#8240 from hewj03:issue_1012_contrib
2 parents 526220a + 9fbce6c commit e192c68

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)