Displaying 1 result from an estimated 1 matches for "r62092".
Did you mean:
962092
2013 Mar 01
1
predict.loess() segfaults for large n?
Hi,
I am segfaulting when using predict.loess() (checked with r62092).
I've traced the source with the help of valgrind (output pasted
below) and it appears that this is due to int overflow when
allocating an int work array in loess_workspace():
liv = 50 + ((int)pow((double)2, (double)D) + 4) * nvmax + 2 * N;
where liv is an (global) int. For D=1 (one x va...