comet-toolkit / comet_maths

GNU Lesser General Public License v3.0
6 stars 1 forks source link

Division by zero patch in correlation #10

Closed JamieMcMillan closed 7 months ago

JamieMcMillan commented 7 months ago

I was hitting runtime errors with this step when the denominator was zero.

I have added a wrapper to divide safely.