1
0
mirror of https://github.com/gsi-upm/soil synced 2024-12-22 08:18:13 +00:00

Fix bug parallel

This commit is contained in:
J. Fernando Sánchez 2018-12-09 14:06:07 +01:00
parent 53604c1e66
commit 3526fa29d7
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.13.0
0.13.1

View File

@ -322,7 +322,7 @@ class Environment(nxsim.NetworkEnvironment):
def __getstate__(self):
state = self.__dict__.copy()
state['G'] = json_graph.node_link_data(self.G)
state['network_agents'] = agents._serialize_distribution(self.network_agents)
state['network_agents'] = agents.serialize_distribution(self.network_agents)
state['environment_agents'] = agents._convert_agent_types(self.environment_agents,
to_string=True)
return state