Skip to content

Commit

Permalink
gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange-42 committed Mar 26, 2020
1 parent de606b1 commit b74b038
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
*.iml
25 changes: 0 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ edition = "2018"
[dependencies]
num-traits = "0.2"
rand = "0.5.5"
crossbeam = "0.7.3"
easy_graph = { path = "../easy_graph", version = "0.1.0" }

[dev-dependencies]
Expand Down
2 changes: 2 additions & 0 deletions src/calc/nn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub fn nearest_neighbors(
result
}

/*
pub fn par_nearest_neighbor(from: &[f64], to: &DataFrame<f64>, num_threads: usize) -> (usize, f64) {
assert_eq!(from.len(), to.ncols());
thread::scope(|s| {
Expand Down Expand Up @@ -152,6 +153,7 @@ pub fn nearest_neighbor_slice(from: &[f64], to: &[f64], row_offset: usize) -> (u
}
(min_idx, min_dist.sqrt())
}
*/

#[cfg(test)]
mod test {
Expand Down

0 comments on commit b74b038

Please sign in to comment.