diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-09-04 12:14:54 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-09-04 12:14:54 +0200 |
commit | 6dce9b9515265d938a672a0817fd293015c77551 (patch) | |
tree | 999fa51735a22abf8da35e71c12e15882936b2bb /src/Hill.cxx | |
parent | 700f8cb97bc9a033b82252e0120e41962135fb06 (diff) |
Make Hill flags part of Hill class
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r-- | src/Hill.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx index b78dcd7..7acf77d 100644 --- a/src/Hill.cxx +++ b/src/Hill.cxx @@ -124,7 +124,7 @@ void Hills::mark_duplicates(double dist) { for(i=0; i<get_num();i++) { m = get(i); - if (m->flags & HILL_TRACK_POINT) { + if (m->flags & Hill::TRACK_POINT) { continue; } @@ -132,10 +132,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::DUPLICATE) { if (fabs(n->lam - m->lam) <= dist && fabs(n->height - m->height) <= 50.0 ) { - n->flags |= HILL_DUPLICATE; + n->flags |= Hill::DUPLICATE; } } j = j + 1; |