Re: [Rd] Minor bug with stats::isoreg

2023-09-28 Thread Martin Maechler
> Ivan Krylov > on Thu, 28 Sep 2023 00:59:57 +0300 writes: > В Wed, 27 Sep 2023 13:49:58 -0700 Travers Ching > пишет: >> Calling isoreg with an Inf value causes a segmentation >> fault, tested on R 4.3.1 and R 4.2. A reproducible >> example is:

Re: [Rd] Minor bug with stats::isoreg

2023-09-27 Thread Ivan Krylov
В Wed, 27 Sep 2023 13:49:58 -0700 Travers Ching пишет: > Calling isoreg with an Inf value causes a segmentation fault, tested > on R 4.3.1 and R 4.2. A reproducible example is: `isoreg(c(0,Inf))` Indeed, the code in src/library/stats/src/isoreg.c contains the following loop: do {

Re: [Rd] Minor bug with stats::isoreg

2023-09-27 Thread Ben Bolker
Thanks! Submitted as https://bugs.r-project.org/show_bug.cgi?id=18603 On 2023-09-27 4:49 p.m., Travers Ching wrote: Hello, I'd like to file a small bug report. I searched and didn't find a duplicate report. Calling isoreg with an Inf value causes a segmentation fault, tested on R 4.3.1

[Rd] Minor bug with stats::isoreg

2023-09-27 Thread Travers Ching
Hello, I'd like to file a small bug report. I searched and didn't find a duplicate report. Calling isoreg with an Inf value causes a segmentation fault, tested on R 4.3.1 and R 4.2. A reproducible example is: `isoreg(c(0,Inf))` [[alternative HTML version deleted]]