Fix a bug in TSTheta with endpoint
The parametric sensitivity for an integral was not updated correctly because the user-supplied JacobianP for the QuadratureTS was ignored. Theta methods with the endpoint option are affected. This MR fixes this issue.
The bug was reported by Miguel Salazar salazardetro1@llnl.gov.
Edited by Hong Zhang