On Fri, May 20, 2022 at 3:17 PM Sven Schreiber <svetosch(a)gmx.net> wrote:
Am 18.05.2022 um 14:13 schrieb Sven Schreiber:
> Hi,
> I'm trying to use the regls() function
... there's one more: I think regls's internal nz_print function has a
small bug in the line "len = max(strlen(S))". The problem is that S and
by implication strlen(S) may be empty, and then max() throws an error.
(I got an error from that in a corner case.)
I would suggest to enclose the entire printing at the end of the
function with a check like "if nelem(S)".
I'll look into it, but could you give me an idea of what the "corner
case" involved?
Allin