diff --git a/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala b/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala index 6ddd9f46a276e9698ec39a706febb637216dc5a3..475ebb9f83c605a0645204df99a0bcc219c53ddf 100755 --- a/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala +++ b/src/main/scala/org/scadcop/solver/decentralized/mgm2/AgentBehaviour.scala @@ -150,6 +150,12 @@ class AgentBehaviour(variable: Variable, * Either the agent is in the OffererWaitingValues state */ when(OffererWaitingValues){ + + case Event(InformDelta(_), mind) => { + stash + stay using mind + } + // When the context is partial, the agent is waiting for some InformValue message case Event(InformValue(peerValue), mind) if mind.context.size < neighbours.size => if (debug) println(s"$variable in $stateName has received InformValue and context is partial.")