Skip to content

Fix bug when there is no genuine edges or build edges

Anthony Correia requested to merge anthonyc/fix_empty_edges into main

When I refactored the get_truths_exatrkx function, I forgot to include the cases when

  • there are no true edges
  • there are no edges built by the kNN (this case should not be possible though).

I handled these 2 cases using if/elif conditions

This bug was first revealed during the hands-on session with Gabriel and Benjamin.

@fgiasemi : please just hit the merge button if you think it is ok or tell me when you want to merge it.

Edited by Anthony Correia

Merge request reports