aboutsummaryrefslogtreecommitdiff
path: root/tests/signature_test.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-27 22:36:28 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-08-27 22:36:28 -0400
commit137960a0261245a433f161d8fa4cbb53e4e50e6a (patch)
treeb6e124f744a5db48c5741ee0663fcf90faa0eccb /tests/signature_test.cpp
parent96fc17b99d56eb636c894c5be9ab39bfdb4ba454 (diff)
downloaddeduper-137960a0261245a433f161d8fa4cbb53e4e50e6a.tar.xz
Fix distance calculation.
Diffstat (limited to 'tests/signature_test.cpp')
-rw-r--r--tests/signature_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/signature_test.cpp b/tests/signature_test.cpp
index 0b6b1f9..8d44431 100644
--- a/tests/signature_test.cpp
+++ b/tests/signature_test.cpp
@@ -5,8 +5,8 @@
int main()
{
std::vector<signature> a;
- a.push_back(std::move(signature::from_file("img/x.jpg")));
- a.push_back(std::move(signature::from_file("img/z.jpg")));
+ a.push_back(std::move(signature::from_file("img/x.jpg", signature::default_cfg())));
+ a.push_back(std::move(signature::from_file("img/z.jpg", signature::default_cfg())));
for (size_t i = 0; i < a.size(); ++i)
for (size_t j = 0; j < a.size(); ++j)
{