mirror of
https://github.com/gsi-upm/soil
synced 2024-11-22 03:02:28 +00:00
Fix bug parallel
This commit is contained in:
parent
53604c1e66
commit
3526fa29d7
@ -1 +1 @@
|
|||||||
0.13.0
|
0.13.1
|
||||||
|
@ -322,7 +322,7 @@ class Environment(nxsim.NetworkEnvironment):
|
|||||||
def __getstate__(self):
|
def __getstate__(self):
|
||||||
state = self.__dict__.copy()
|
state = self.__dict__.copy()
|
||||||
state['G'] = json_graph.node_link_data(self.G)
|
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,
|
state['environment_agents'] = agents._convert_agent_types(self.environment_agents,
|
||||||
to_string=True)
|
to_string=True)
|
||||||
return state
|
return state
|
||||||
|
Loading…
Reference in New Issue
Block a user