Skip to content

Commit 03d50c6

Browse files
committed
add in decay_t again as before
1 parent 3ef833f commit 03d50c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/rev/functor/cvodes_integrator_adjoint.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class cvodes_integrator_adjoint_vari : public vari_base {
7979
*/
8080
struct cvodes_solver : public chainable_alloc {
8181
const std::string function_name_str_;
82-
const F f_;
82+
const std::decay_t<F> f_;
8383
const size_t N_;
8484
N_Vector nv_state_forward_;
8585
N_Vector nv_state_backward_;

0 commit comments

Comments
 (0)