RgTools
RgTools copied to clipboard
Potential bug in TemporalRepair Mode 4
https://github.com/pinterf/RgTools/blob/a9cff29cb228b8a6fb52148f334554f4c3823798/RgTools/RemoveGrainT.cpp#L401
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?