From 32efc928f9f85be7cb0e5e221a760dd9fca4feb1 Mon Sep 17 00:00:00 2001 From: DepthDeluxe Date: Mon, 25 Jan 2016 16:10:57 -0500 Subject: [PATCH] want exact, not double --- openbr/plugins/cuda/passthrough.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/cuda/passthrough.cu b/openbr/plugins/cuda/passthrough.cu index ba7a59b..49f94e9 100644 --- a/openbr/plugins/cuda/passthrough.cu +++ b/openbr/plugins/cuda/passthrough.cu @@ -19,7 +19,7 @@ namespace br { namespace cuda { uint8_t srcVal = (srcPtr + rowInd*srcStep)[colInd]; uint8_t* rowDstPtr = dstPtr + rowInd*dstStep; - rowDstPtr[colInd] = srcVal * 2; + rowDstPtr[colInd] = srcVal; } void passthrough_wrapper(GpuMat& src, GpuMat& dst) { -- libgit2 0.21.4