PR: 34230 Fixed bug in PolynomialSplineFunction to allow evaluation of the function at the last knot point.