|
auto reg5 = adds_c(adds_c(diff_src2_minnp, diff_src2_minnp), min_np); // diff_src2_minnp * 2 - min_np |
The code and the comment don't line up, and this same (buggy?) logic shows up in the SIMD versions as well.
A subtraction seems likely, as it would mirror the max_np handling below this line.
Thoughts?
RgTools/RgTools/RemoveGrainT.cpp
Line 401 in a9cff29
The code and the comment don't line up, and this same (buggy?) logic shows up in the SIMD versions as well.
A subtraction seems likely, as it would mirror the
max_nphandling below this line.Thoughts?