File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 66
77static constexpr uint8_t DSM_VERSION_MAJOR = 2 ;
88static constexpr uint8_t DSM_VERSION_MINOR = 1 ;
9- static constexpr uint8_t DSM_VERSION_PATCH = 2 ;
9+ static constexpr uint8_t DSM_VERSION_PATCH = 3 ;
1010
1111#define DSM_VERSION \
1212 std::format (" {}.{}.{}" , DSM_VERSION_MAJOR, DSM_VERSION_MINOR, DSM_VERSION_PATCH)
Original file line number Diff line number Diff line change @@ -1128,10 +1128,7 @@ namespace dsm {
11281128 template <typename Delay>
11291129 requires (is_numeric_v<Delay>)
11301130 void Dynamics<Delay>::removeAgent(Size agentId) {
1131- assert ((void (" Trying to remove an agent that does not exist" ),
1132- std::erase_if (m_agents, [agentId](const auto & agent) {
1133- return agent.first == agentId;
1134- }) == 1 ));
1131+ m_agents.erase (agentId);
11351132 }
11361133
11371134 template <typename Delay>
You can’t perform that action at this time.
0 commit comments