Skip to content

Commit

Permalink
fix(adjacency): fix AdjacencyBitMatrix.numVertices()
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Oct 19, 2023
1 parent ae301a8 commit bd034ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/adjacency/src/binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class AdjacencyBitMatrix implements IGraph<number> {
}

numVertices(): number {
return this.mat.n;
return this.mat.m;
}

/**
Expand Down

0 comments on commit bd034ab

Please sign in to comment.