runPercentRank() would segfault when n was larger than the number of non-NA values (fixed in #112). This bug exists in other C functions (e.g. wilderSum()), but the input is checked before calling C. These checks should be done in the C code so the functions can be called directly from C.
runPercentRank()
would segfault whenn
was larger than the number of non-NA values (fixed in #112). This bug exists in other C functions (e.g.wilderSum()
), but the input is checked before calling C. These checks should be done in the C code so the functions can be called directly from C.