aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-19 10:56:23 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-19 10:56:23 -0400
commit6bb947010cdb8fd195accf66cb025d163c298ddf (patch)
tree680292f26aa8b477d3088a4d881a21867b95aa13
parent8ff8e237823b585cb0171700467328e4a7c5b2d6 (diff)
downloaddeduper-6bb947010cdb8fd195accf66cb025d163c298ddf.tar.xz
Fix everything being zero.
-rw-r--r--qdeduper/sigdb_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qdeduper/sigdb_qt.cpp b/qdeduper/sigdb_qt.cpp
index ab6a9f9..c901bad 100644
--- a/qdeduper/sigdb_qt.cpp
+++ b/qdeduper/sigdb_qt.cpp
@@ -102,7 +102,7 @@ std::map<std::pair<size_t, size_t>, double> SignatureDB::group_distances(size_t
if (distmap.find(std::make_pair(x, y)) != distmap.end())
ret[std::make_pair(i, j)] = distmap[std::make_pair(x, y)];
else if (distmap.find(std::make_pair(y, x)) != distmap.end())
- ret[std::make_pair(j, i)] = distmap[std::make_pair(x, y)];
+ ret[std::make_pair(i, j)] = distmap[std::make_pair(y, x)];
}
return ret;
}