We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef833f commit 03d50c6Copy full SHA for 03d50c6
1 file changed
stan/math/rev/functor/cvodes_integrator_adjoint.hpp
@@ -79,7 +79,7 @@ class cvodes_integrator_adjoint_vari : public vari_base {
79
*/
80
struct cvodes_solver : public chainable_alloc {
81
const std::string function_name_str_;
82
- const F f_;
+ const std::decay_t<F> f_;
83
const size_t N_;
84
N_Vector nv_state_forward_;
85
N_Vector nv_state_backward_;
0 commit comments