From 19ac89d81a23c907a14d74eb1fd1d0b95765eecf Mon Sep 17 00:00:00 2001 From: Daniel Feismann <98817556+danielfeismann@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:47:09 +0200 Subject: [PATCH] Include reviewers suggestion Co-authored-by: Sebastian Peter --- .../ie3/simona/agent/participant/hp/HpAgentFundamentals.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala b/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala index fa7281857d..5e55c467a0 100644 --- a/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala +++ b/src/main/scala/edu/ie3/simona/agent/participant/hp/HpAgentFundamentals.scala @@ -272,7 +272,7 @@ trait HpAgentFundamentals baseStateData.copy( stateDataStore = updatedStateDataStore, additionalActivationTicks = - baseStateData.additionalActivationTicks + nextThreshold.tick, + baseStateData.additionalActivationTicks ++ Set(nextThreshold.tick), ) case _ => baseStateData.copy(