urbach / rzeta

R-Implementation of the Lüscher Zeta Function
GNU Lesser General Public License v3.0
2 stars 4 forks source link

DZeta and QZeta share almost all code #1

Open martin-ueding opened 6 years ago

martin-ueding commented 6 years ago

The DZeta and RZeta R functions share almost all the code, the difference is only the C function that is called. I would think that an argument quad_prec = FALSE would be easier to use and have less duplication. In further functions I might want to expose both and I would have to select the function to call instead of just passing the argument further down.