RgTools icon indicating copy to clipboard operation
RgTools copied to clipboard

Potential bug in TemporalRepair Mode 4

Open adworacz opened this issue 6 months ago • 1 comments

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?

adworacz avatar Jun 13 '25 23:06 adworacz