Skip to content

Commit 559978e

Browse files
committed
Merge pull request #3272 from vrabaud:4.x_compile
2 parents db16caf + 30dc847 commit 559978e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cudastereo/src/cuda/stereobm.cu

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

282282
InitColSSD<RADIUS>(x_tex, y_tex, img_step, left, right, d, col_ssd);
283283

284-
if (col_ssd_extra > 0)
284+
if (col_ssd_extra != nullptr)
285285
if (x_tex + BLOCK_W < cwidth)
286286
InitColSSD<RADIUS>(x_tex + BLOCK_W, y_tex, img_step, left, right, d, col_ssd_extra);
287287

0 commit comments

Comments
 (0)