File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -323,8 +323,8 @@ void Model::update_compartments()
323323}
324324
325325void Model::update_compartment_from_flow (InfectionState infectionState,
326- std::vector<InfectionTransition> const && IncomingFlows,
327- std::vector<InfectionTransition> const && OutgoingFlows)
326+ std::vector<InfectionTransition> const & IncomingFlows,
327+ std::vector<InfectionTransition> const & OutgoingFlows)
328328{
329329 Eigen::Index num_time_points = m_populations.get_num_time_points ();
330330 ScalarType updated_compartment = m_populations[num_time_points - 2 ][Eigen::Index (infectionState)];
Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ class Model
269269 * Therefore the flows of the current time step should be calculated before using this function.
270270 */
271271 void update_compartment_from_flow (InfectionState infectionState,
272- std::vector<InfectionTransition> const && IncomingFlows,
273- std::vector<InfectionTransition> const && OutgoingFlows);
272+ std::vector<InfectionTransition> const & IncomingFlows,
273+ std::vector<InfectionTransition> const & OutgoingFlows);
274274
275275 // ---- Private parameters. ----
276276 ScalarType m_forceofinfection{0 }; // /< Force of infection term needed for numerical scheme.
You can’t perform that action at this time.
0 commit comments