Commit 636b5a76 authored by Dumoulin Nicolas's avatar Dumoulin Nicolas
Browse files

log message

parent 4d93e368
......@@ -60,6 +60,7 @@ class Biodiversity(Indicator):
# sparse matrix initialisation
self.probabilities = lil_matrix((len(patches),len(patches)), dtype='d')
print('Computing dispersal probabilities matrix (Biodiversity indicator) …')
for i in tqdm(range(len(patches))):
geom_i = patches.iat[i,geom_idx]
for fid in list(index.intersection(geom_i.bounds)):
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