We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e3e12a commit 4bea3fdCopy full SHA for 4bea3fd
1 file changed
inst/include/pc/neighbor.hpp
@@ -92,7 +92,7 @@ namespace neighbor
92
inline std::vector<std::vector<size_t>> NN4Mat(
93
const std::vector<std::vector<double>>& mat,
94
size_t k,
95
- const std::string method& = "euclidean",
+ const std::string& method = "euclidean",
96
bool include_self = false,
97
bool byrow = true)
98
{
@@ -223,7 +223,7 @@ namespace neighbor
223
const std::vector<size_t>& lib,
224
const std::vector<size_t>& pred,
225
226
227
228
229
0 commit comments