On an algorithm to adapt spline approximations to the presence of discontinuities | Publicación