GNU Scientific Library - Bugs: bug #47193, gsl_ran_poisson_pdf with mu=0
You are not allowed to post comments on this tracker with your current authentication level.
bug #47193: gsl_ran_poisson_pdf with mu=0
Submitter: | Patrick Alken <psa> | ||
Submitted: | Thu 18 Feb 2016 04:39:48 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Operating System: | Status: | None | |
Assigned to: | None | Open/Closed: | Open |
Release: |
Thu 09 Nov 2017 07:03:22 AM UTC, comment #1: |
Timothee Flutre <tflutre> |
Thu 18 Feb 2016 04:39:48 PM UTC, original submission:
from trojkan =at= gmail =dot= com
Hi,
I noticed that gsl_ran_poisson_pdf(k, mu) error out if mu=0.0. IMHO a Poisson distribution with zero mean is a perfectly valid distribition (although it is not very random), so I find it unexpected that the function doesn't support it. I suggest to add some code taking care of the special case. Something like:
if (!mu) {
|
Patrick Alken <psa>![]() |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
Same bug report as bug #43326.