Skip to content

Commit

Permalink
use different nta method
Browse files Browse the repository at this point in the history
  • Loading branch information
iblacksand committed Nov 21, 2024
1 parent c47fac8 commit 916bfc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub fn nta_rust(edge_list: Robj, seeds: Robj) -> List {
tolerance: 1e-6,
..Default::default()
};
let res = get_nta(config);
let res = process_nta(config);
let nodes: Vec<String> = res.iter().map(|(x, _)| x.to_string()).collect();
let scores: Vec<f64> = res.iter().map(|(_, x)| *x).collect();
list!(nodes = nodes, scores = scores)
Expand Down

0 comments on commit 916bfc4

Please sign in to comment.