@@ -104,7 +104,7 @@ class cvodes_integrator {
104104 const Eigen::VectorXd y_vec = Eigen::Map<const Eigen::VectorXd>(y, N_);
105105
106106 Eigen::VectorXd dy_dt_vec
107- = math::apply (( [&](auto &&... args) { return f_ (t, y_vec, msgs_, args...); },
107+ = math::apply ([&](auto &&... args) { return f_ (t, y_vec, msgs_, args...); },
108108 value_of_args_tuple_);
109109
110110 check_size_match (" cvodes_integrator" , " dy_dt" , dy_dt_vec.size (), " states" ,
@@ -122,7 +122,7 @@ class cvodes_integrator {
122122 Eigen::MatrixXd Jfy;
123123
124124 auto f_wrapped = [&](const Eigen::Matrix<var, Eigen::Dynamic, 1 >& y) {
125- return math::apply (( [&](auto &&... args) { return f_ (t, y, msgs_, args...); },
125+ return math::apply ([&](auto &&... args) { return f_ (t, y, msgs_, args...); },
126126 value_of_args_tuple_);
127127 };
128128
@@ -212,7 +212,7 @@ class cvodes_integrator {
212212
213213 // Code from: https://stackoverflow.com/a/17340003 . Should probably do
214214 // something better
215- math::apply ((
215+ math::apply (
216216 [&](auto &&... args) {
217217 std::vector<int > unused_temp{
218218 0 , (check_finite (function_name, " ode parameters and data" , args),
@@ -327,7 +327,7 @@ class cvodes_integrator {
327327 }
328328 }
329329
330- y.emplace_back (math::apply ((
330+ y.emplace_back (math::apply (
331331 [&](auto &&... args) {
332332 return ode_store_sensitivities (f_, coupled_state_, y0_, t0_,
333333 ts_[n], msgs_, args...);
0 commit comments