Skip to content

Update PF9

David Hammer requested to merge pf9-handle-zero-weight into master

Avoid dividing by zero

This came up when testing the OndaBridge on some old data: sometimes peak positions would be NaN. After a lot of head scratching, I found that the pixel values were -0.000000 and so division by zero happened. Not sure why the data was such that -0.000000 could be local maximum, but here we are.

Edited by David Hammer

Merge request reports