Skip to content

Commit

Permalink
command+S
Browse files Browse the repository at this point in the history
  • Loading branch information
ADimoska committed Sep 22, 2023
1 parent 88668dd commit b7aae43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/main/BaseServer/baseServer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

type BaseServer[T baseagent.IAgent[T]] struct {
agentMap map[uuid.UUID]T
agentMap map[uuid.UUID]T
iterations int
}

Expand Down Expand Up @@ -110,7 +110,7 @@ func (bs *BaseServer[T]) initialiseAgents(m []AgentGeneratorCountPair[T]) {
// generate a server instance based on a mapping function and number of iterations
func CreateServer[T baseagent.IAgent[T]](generatorArray []AgentGeneratorCountPair[T], iterations int) *BaseServer[T] {
serv := &BaseServer[T]{
agentMap: make(map[uuid.UUID]T),
agentMap: make(map[uuid.UUID]T),
iterations: iterations,
}
serv.initialiseAgents(generatorArray)
Expand Down

0 comments on commit b7aae43

Please sign in to comment.