Skip to content

Commit

Permalink
Update read_mutual_scores
Browse files Browse the repository at this point in the history
  • Loading branch information
vberezhnev committed Nov 1, 2024
1 parent b7707b2 commit 8683b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ pub fn read_mutual_scores(

for (node, score) in ranks {
let info = self.node_info_from_id(node).clone();
if score > 0.0 { // && info.kind == NodeKind::User
if score > 0.0 && info.kind == NodeKind::User {
let reversed_score = self.fetch_score_reversed(context, ego_id, node);
v.push((ego.to_string(), info.name.clone(), score, reversed_score));
points.push((node, score));
Expand Down

0 comments on commit 8683b22

Please sign in to comment.