Skip to content

Commit

Permalink
Merge pull request opencv#1158 from berak:patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed May 11, 2017
2 parents 3b01eaa + 0c25702 commit 6bca9e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/xphoto/src/bm3d_denoising_invoker_commons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ inline static void hardThreshold2D(T *dst, T *thrMap, const int &templateWindowS
{
for (int i = 1; i < templateWindowSizeSq; ++i)
{
if (std::abs(dst[i] < thrMap[i]))
if (std::abs(dst[i]) < thrMap[i])
dst[i] = 0;
}
}
Expand Down

0 comments on commit 6bca9e8

Please sign in to comment.