buresu/DBSCAN

error: ‘remove’ is not a member of ‘std’

Closed this issue · 1 comments

The error message:
DBSCAN-master/dbscan.cpp:43:21: error: ‘remove’ is not a member of ‘std’
seeds.erase(std::remove(seeds.begin(), seeds.end(), p), seeds.end());

I think you forgot to add "#include ".
After that your code could be run successfully.

Thank you for your reporting.
I added include at commit f8cbdc9 and tested it on msvc 2015.