Skip to content

Commit

Permalink
Manual cleanup of graph_empty.js
Browse files Browse the repository at this point in the history
  • Loading branch information
curran committed Jan 2, 2021
1 parent 5e556f1 commit 379b60d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/graph_empty.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { graph } from './graph';

export function graph_empty_nodes(n) {
const nodes = Array(n);
let i;
for (i = 0; i < n; i++) nodes[i] = { id: i };
for (let i = 0; i < n; i++) nodes[i] = { id: i };
return nodes;
}

Expand Down

0 comments on commit 379b60d

Please sign in to comment.