summaryrefslogtreecommitdiff
path: root/src/Hill.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r--src/Hill.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index b053568..d57c576 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -140,10 +140,10 @@ void Hills::mark_duplicates(double dist) {
j = i + 1;
n = get(j);
while (n && fabs(n->phi - m->phi) <= dist) {
- if (! n->flags & Hill::DUPLICATE) {
+ if (! n->flags & Hill::DUPLIC) {
if (fabs(n->lam - m->lam) <= dist &&
fabs(n->height - m->height) <= 50.0 ) {
- n->flags |= Hill::DUPLICATE;
+ n->flags |= Hill::DUPLIC;
}
}
j = j + 1;