From 53ed216c4cb039b2f029e1f228173ac9c5b4a2a1 Mon Sep 17 00:00:00 2001 From: Volodymyr Orlov Date: Sun, 30 Aug 2020 16:47:19 -0700 Subject: [PATCH] fix: broken links --- src/algorithm/neighbour/cover_tree.rs | 2 +- src/algorithm/neighbour/linear_search.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithm/neighbour/cover_tree.rs b/src/algorithm/neighbour/cover_tree.rs index 08e06cc..43e366e 100644 --- a/src/algorithm/neighbour/cover_tree.rs +++ b/src/algorithm/neighbour/cover_tree.rs @@ -45,7 +45,7 @@ pub struct CoverTree> { impl> CoverTree { /// Construct a cover tree. /// * `data` - vector of data points to search for. - /// * `distance` - distance metric to use for searching. This function should extend [`Distance`](../algorithm/neighbour/index.html) interface. + /// * `distance` - distance metric to use for searching. This function should extend [`Distance`](../../../math/distance/index.html) interface. pub fn new(mut data: Vec, distance: D) -> CoverTree { let mut tree = CoverTree { base: F::two(), diff --git a/src/algorithm/neighbour/linear_search.rs b/src/algorithm/neighbour/linear_search.rs index 2164e48..00e09d9 100644 --- a/src/algorithm/neighbour/linear_search.rs +++ b/src/algorithm/neighbour/linear_search.rs @@ -40,7 +40,7 @@ pub struct LinearKNNSearch> { impl> LinearKNNSearch { /// Initializes algorithm. /// * `data` - vector of data points to search for. - /// * `distance` - distance metric to use for searching. This function should extend [`Distance`](../algorithm/neighbour/index.html) interface. + /// * `distance` - distance metric to use for searching. This function should extend [`Distance`](../../../math/distance/index.html) interface. pub fn new(data: Vec, distance: D) -> LinearKNNSearch { LinearKNNSearch { data: data,