Commit c54a9b0e authored by Dumoulin Nicolas's avatar Dumoulin Nicolas
Browse files

fix for last version of numpy

parent 636b5a76
......@@ -70,7 +70,7 @@ class Social(Indicator):
'''
m = self.patches_transition_cost.values
np.savez(filename, bdv_threshold=self.bdv_threshold, patches_md5sum=self.patches_md5sum, cost_matrix_md5sum=self.cost_matrix_md5sum,
data=m.data)
data=m.data, allow_pickle=True)
def load_patches_transition_cost(self, filename):
'''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment