Pixel Radiation dmg code speed up

Remove one expensive calculation pow(pow()) out of the loop + minor changes to the if logic.

Results cross-checked with diff-root

cc @bnachman @tadej

Edited by Tomas Dado

Merge request reports

Loading