Skip to content

Commit

Permalink
Update location.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuzka committed Mar 14, 2024
1 parent a1d8c1b commit 2c2423b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popy/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def project_weights(self, agent1: _agent.Agent, agent2: _agent.Agent) -> float:
return min([self.get_weight(agent1), self.get_weight(agent2)])


def stick_together(self, agent: _agent.Agent) -> Any:
def stick_together(self, agent: _agent.Agent) -> float | str:
"""Sticks agents together by attribute.
Args:
Expand Down

0 comments on commit 2c2423b

Please sign in to comment.