hallnath1 / CASTLEGUARD

CASTLEGUARD: Continuously Anonymizing STreaming data via adaptive cLustEring with GUARanteed Differential privacy
Apache License 2.0
7 stars 0 forks source link

Fix the merge_clusters function #45

Closed alexander-jackson closed 4 years ago

alexander-jackson commented 4 years ago

Fix the merge_clusters function so that elements are not removed while iterating through the container. This was causing only some of the elements from the cluster to be inserted, meaning some were getting lost.