Skip to content

Commit

Permalink
Merge branch '2024-refactoring-RF2' of github.com:veg/hivtrace-viz in…
Browse files Browse the repository at this point in the history
…to 2024-refactoring-RF2
  • Loading branch information
stevenweaver committed Feb 6, 2025
2 parents c75e90c + 1030566 commit 144bc2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ while (len--) {
}
node.visited = true;

var N = adjacency[node.id].length;
var N = adjacency[node.id] ? adjacency[node.id].length : 0;
while (N--) {
let neighbor = adjacency[node.id][N];
if (!neighbor[0].visited) {
Expand Down

0 comments on commit 144bc2f

Please sign in to comment.