diff --git a/soil/VERSION b/soil/VERSION index 51de330..c317a91 100644 --- a/soil/VERSION +++ b/soil/VERSION @@ -1 +1 @@ -0.13.0 \ No newline at end of file +0.13.1 diff --git a/soil/environment.py b/soil/environment.py index 501ecc9..8e1e9e4 100644 --- a/soil/environment.py +++ b/soil/environment.py @@ -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