Skip to content

Commit fed4653

Browse files
committed
Remove if condition
1 parent a38eeb8 commit fed4653

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/memilio/mobility/metapopulation_mobility_instant.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,7 @@ void mio::MobilityEdge<FP>::apply_mobility(FP t, FP dt, SimulationNode<FP, Sim>&
634634
}
635635
}
636636

637-
if (!m_return_mobile_population &&
638-
(m_parameters.get_coefficients().get_matrix_at(SimulationTime<FP>(t)).array() > 0.0).any()) {
637+
if (!m_return_mobile_population) {
639638
//normal daily mobility
640639
m_mobile_population.add_time_point(
641640
t, (node_from.get_last_state().array() *

0 commit comments

Comments
 (0)