Skip to content

Commit 6bca9e8

Browse files
committed
Merge pull request #1158 from berak:patch-1
2 parents 3b01eaa + 0c25702 commit 6bca9e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/xphoto/src/bm3d_denoising_invoker_commons.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ inline static void hardThreshold2D(T *dst, T *thrMap, const int &templateWindowS
8989
{
9090
for (int i = 1; i < templateWindowSizeSq; ++i)
9191
{
92-
if (std::abs(dst[i] < thrMap[i]))
92+
if (std::abs(dst[i]) < thrMap[i])
9393
dst[i] = 0;
9494
}
9595
}

0 commit comments

Comments
 (0)