search for: debug_approx

Displaying 1 result from an estimated 1 matches for "debug_approx".

2023 Feb 23
1
Compilation Error when DEBUG_approx Toggled on in RISC-V
...l, While compiling R to RISC-V64 architecture and debugging in R's C source codes, I think I have found a small bug. Can anyone please verify whether it is a real bug? The possible bug lies in the file `R-4.2.2/src/library/stats/src/approx.c` in function `R_approxfun` around line 148: #ifdef DEBUG_approx REprintf("R_approxfun(x,y, nxy = %.0f, .., nout = %.0f, method = %d, ...)", (double)nxy, (double)nout, Meth->kind); #endif However, there is no `Meth` defined in this function, causing a compilation error when `DEBUG_approx` is toggled on. The real `Meth` is actually defined i...