Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thk686 committed Apr 4, 2018
1 parent 8f4a60e commit 4e542ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ This is a new release, so there are no reverse dependencies.

---

Fixed some C++ header issues
7 changes: 4 additions & 3 deletions inst/include/kdtools.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#ifndef __KDTOOLS_H__
#define __KDTOOLS_H__

#include <functional>
#include <algorithm>
#include <iterator>
#include <iostream>
Expand Down Expand Up @@ -517,7 +518,7 @@ void knn(Iter first, Iter last,
}
}

}; // namespace detail
} // namespace detail

namespace utils {

Expand All @@ -542,7 +543,7 @@ using detail::make_kd_compare;
using detail::l2dist;
using detail::sum_of_squares;

}; // namespace utils
} // namespace utils

template <typename Iter>
void lex_sort(Iter first, Iter last)
Expand Down Expand Up @@ -641,6 +642,6 @@ void kd_nearest_neighbors(Iter first, Iter last,
q.copy_to(outp);
}

}; // namespace kdtools
} // namespace kdtools

#endif // __KDTOOLS_H__

0 comments on commit 4e542ca

Please sign in to comment.