GeometryIndexed.composite() was a bit overenthusiastic during reindexing
This commit is contained in:
parent
e51e00c63b
commit
26a27bed09
1 changed files with 2 additions and 1 deletions
|
@ -285,10 +285,11 @@ class MapHistory(GeometryIndexed):
|
|||
new_updates = sorted(set(self_update_i.keys()) | set(other_update_i.keys()))
|
||||
|
||||
# reindex according to merged update list
|
||||
self_data = self.data.copy()
|
||||
other_data = other.data.copy()
|
||||
for i, update in enumerate(new_updates):
|
||||
if update in self_update_i:
|
||||
self.data[self.data == self_update_i[update]] = i
|
||||
self.data[self_data == self_update_i[update]] = i
|
||||
if update in other_update_i:
|
||||
other_data[other_data == other_update_i[update]] = i
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue