Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/zero_copy
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlynen committed Sep 9, 2015
2 parents 8d6eb88 + 89e891f commit b007ef2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ endif(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DOXYFILE_LATEX false)
include(UseDoxygen)

# Compilation
add_definitions(-Wall)
# Switch on warnings.
add_definitions(-Wall -Wextra)

# Boost required for any and cstdint on MSVC < 2010
find_package(Boost COMPONENTS REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion nabo/brute_force_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace Nabo
}

template<typename T, typename CloudType>
unsigned long BruteForceSearch<T, CloudType>::knn(const Matrix& query, IndexMatrix& indices, Matrix& dists2, const Vector& maxRadii, const Index k, const T epsilon, const unsigned optionFlags) const
unsigned long BruteForceSearch<T, CloudType>::knn(const Matrix& query, IndexMatrix& indices, Matrix& dists2, const Vector& maxRadii, const Index k, const T /*epsilon*/, const unsigned optionFlags) const
{
checkSizesKnn(query, indices, dists2, k, optionFlags, &maxRadii);

Expand Down
2 changes: 1 addition & 1 deletion tests/knnbench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ BenchResult doBenchType(const typename NearestNeighbourSearch<T>::SearchType typ
const typename NearestNeighbourSearch<T>::Matrix& d,
const typename NearestNeighbourSearch<T>::Matrix& q,
const int K,
const int itCount,
const int /*itCount*/,
const int searchCount)
{
typedef NearestNeighbourSearch<T> nnsT;
Expand Down

0 comments on commit b007ef2

Please sign in to comment.