Skip to content

Commit

Permalink
address pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
blaise-muhirwa committed Nov 30, 2023
1 parent 54aa687 commit 9f3d6b6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ set(HEADERS
${PROJECT_SOURCE_DIR}/flatnav/util/ExplicitSet.h
${PROJECT_SOURCE_DIR}/flatnav/util/GorderPriorityQueue.h
${PROJECT_SOURCE_DIR}/flatnav/util/Reordering.h
${PROJECT_SOURCE_DIR}/flatnav/util/SIMDIntrinsics.h
${PROJECT_SOURCE_DIR}/flatnav/util/SIMDDistanceSpecializations.h
${PROJECT_SOURCE_DIR}/flatnav/DistanceInterface.h
${PROJECT_SOURCE_DIR}/flatnav/Index.h
${PROJECT_SOURCE_DIR}/quantization/ProductQuantization.h
Expand Down
2 changes: 1 addition & 1 deletion flatnav/Index.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <flatnav/DistanceInterface.h>
#include <flatnav/util/ExplicitSet.h>
#include <flatnav/util/Reordering.h>
#include <flatnav/util/SIMDIntrinsics.h>
#include <flatnav/util/SIMDDistanceSpecializations.h>
#include <fstream>
#include <limits>
#include <memory>
Expand Down
6 changes: 3 additions & 3 deletions flatnav/distances/InnerProductDistance.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <cstddef> // for size_t
#include <cstring> // for memcpy
#include <flatnav/DistanceInterface.h>
#include <flatnav/util/SIMDIntrinsics.h>
#include <flatnav/util/SIMDDistanceSpecializations.h>
#include <functional>
#include <iostream>
#include <limits>
Expand Down Expand Up @@ -54,8 +54,8 @@ class InnerProductDistance : public DistanceInterface<InnerProductDistance> {
if (Archive::is_loading::value) {
_data_size_bytes = _dimension * sizeof(float);
_distance_computer = std::bind(
&InnerProductDistance::defaultDistanceImpl, this, std::placeholders::_1,
std::placeholders::_2, std::placeholders::_3);
&InnerProductDistance::defaultDistanceImpl, this,
std::placeholders::_1, std::placeholders::_2, std::placeholders::_3);

setDistanceFunction();
}
Expand Down
2 changes: 1 addition & 1 deletion flatnav/distances/SquaredL2Distance.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <cstddef> // for size_t
#include <cstring> // for memcpy
#include <flatnav/DistanceInterface.h>
#include <flatnav/util/SIMDIntrinsics.h>
#include <flatnav/util/SIMDDistanceSpecializations.h>
#include <functional>
#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion flatnav/util/ExplicitSet.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <flatnav/util/SIMDIntrinsics.h>
#include <flatnav/util/SIMDDistanceSpecializations.h>

#include <cereal/access.hpp>
#include <cereal/archives/binary.hpp>
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions logs.txt

This file was deleted.

0 comments on commit 9f3d6b6

Please sign in to comment.