> peter dalgaard
> on Sun, 8 Dec 2019 12:11:50 +0100 writes:
> Yes, that looks like a bug and an easily fixable one too.
agreed.
> However, I spy another issue: Why do we check the
> !R_FINITE(x) && mu == x before checking for sd < 0 ? The
> difference is whether we
I've now posted this as an enhancement request:
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17669
On 06/12/2019 12:35 p.m., Duncan Murdoch wrote:
To R-devel:
I've sent this to Johann privately already; just in case anyone else is
interested in this issue, here's what I wrote:
Just sta
Yes, that looks like a bug and an easily fixable one too.
However, I spy another issue: Why do we check the !R_FINITE(x) && mu == x
before checking for sd < 0 ? The difference is whether we
return ML_NAN;
or
ML_ERR_return_NAN;
but surely negative sd should always be an error?
I'd be inclined