Skip to content

Avoid 0/0 in sqrt variance - #3880

Merged
jl-wynen merged 1 commit into
mainfrom
fix-sqrt-variance
Apr 13, 2026
Merged

jl-wynen merged 1 commit into
mainfrom
fix-sqrt-variance

Conversation

@jl-wynen

Copy link
Copy Markdown
Member

Fixes #3878

I think this is the best we can do as the variance diverges for a.value -> 0 if a.variance > 0.

@jl-wynen
jl-wynen enabled auto-merge April 13, 2026 07:42
@jl-wynen
jl-wynen force-pushed the fix-sqrt-variance branch from 1c30cac to 765d39f Compare April 13, 2026 07:42
@jl-wynen
jl-wynen merged commit 040c052 into main Apr 13, 2026
7 of 8 checks passed
@jl-wynen
jl-wynen deleted the fix-sqrt-variance branch April 13, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sqrt variance propagation divides by zero when value=0

2 participants