summaryrefslogtreecommitdiff
path: root/src/Hill.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2020-09-14 10:01:21 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2020-09-14 10:01:21 +0200
commitb65f43ace8dbf129d441853d1479802d995b1661 (patch)
tree4734a907671c9020ef86d1320b41d51b66984de7 /src/Hill.cxx
parent57ea9ae04aa3deab8e12a53fddc51baec1edb372 (diff)
fix some warnings
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r--src/Hill.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index b059897..2aad3f3 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -142,7 +142,7 @@ void Hills::mark_duplicates(double dist) {
j = i + 1;
n = get(j);
while (n && fabs(n->phi - m->phi) <= dist) {
- if (! n->flags & Hill::DUPLIC) {
+ if (! (n->flags & Hill::DUPLIC)) {
if (fabs(n->lam - m->lam) <= dist &&
fabs(n->height - m->height) <= 50.0 ) {
n->flags |= Hill::DUPLIC;