Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Linear filter has rounding errors #115

Closed
tpoisot opened this issue Oct 17, 2018 · 2 comments
Closed

Linear filter has rounding errors #115

tpoisot opened this issue Oct 17, 2018 · 2 comments

Comments

@tpoisot
Copy link
Member

tpoisot commented Oct 17, 2018

In some situations (I don't know which exactly) the linearfilter can generate probabilities of 1.0000...1 -- this usually send the whole analysis crashing down.

@MichielStock
Copy link
Contributor

Is solving this by returning max.(min.(F, 1.0), 0.0) in the linear filter an option?

@tpoisot
Copy link
Member Author

tpoisot commented Nov 7, 2018

Possibly -- I just pushed something with this fix.

@tpoisot tpoisot closed this as completed Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants