@@ -21,7 +21,7 @@ namespace stan {
2121namespace math {
2222
2323/* *
24- * Integrator interface for CVODES' ODE solvers (Adams & BDF
24+ * Integrator interface for CVODES' adjoint ODE solvers (Adams & BDF
2525 * methods).
2626 *
2727 * @tparam F Type of ODE right hand side
@@ -204,8 +204,6 @@ class cvodes_integrator_adjoint_vari : public vari_base {
204204 int interpolation_polynomial, int solver_forward, int solver_backward,
205205 std::ostream* msgs, const T_Args&... args)
206206 : vari_base(),
207- // local_args_tuple_(deep_copy_vars(args)...),
208- // value_of_args_tuple_(value_of(args)...),
209207 y_(ts.size()),
210208 ts_(ts.begin(), ts.end()),
211209 y0_(y0),
@@ -403,7 +401,7 @@ class cvodes_integrator_adjoint_vari : public vari_base {
403401 /* *
404402 * No-op for setting adjoints since this class does not own any adjoints.
405403 */
406- void set_zero_adjoint () final {};
404+ void set_zero_adjoint () final {};
407405
408406 void chain () final {
409407 if (!is_var_return_) {
@@ -618,8 +616,6 @@ class cvodes_integrator_adjoint_vari : public vari_base {
618616 *
619617 * Equation 2.23 in the cvs_guide.
620618 *
621- * @param[in] initial var vector
622- * @param[in] param var vector
623619 * @param[in] t time
624620 * @param[in] y state of the base ODE system
625621 * @param[in] yB state of the adjoint ODE system
@@ -655,8 +651,6 @@ class cvodes_integrator_adjoint_vari : public vari_base {
655651 *
656652 * This is the integrand of equation 2.22 in the cvs_guide.
657653 *
658- * @param[in] initial var vector
659- * @param[in] param var vector
660654 * @param[in] t time
661655 * @param[in] y state of the base ODE system
662656 * @param[in] yB state of the adjoint ODE system
@@ -738,8 +732,8 @@ class cvodes_integrator_adjoint_vari : public vari_base {
738732 * Calculate the Jacobian of the RHS of the adjoint ODE (see rhs_adj
739733 * below for citation for how this is done)
740734 *
741- * @param[in] y State of system
742735 * @param[in] t Time
736+ * @param[in] y State of system
743737 * @param[out] J CVode structure where output is to be stored
744738 */
745739 inline int jacobian_rhs_adj_states (double t, N_Vector y, SUNMatrix J) const {
0 commit comments