Skip to content

Commit bbcea74

Browse files
authored
Merge pull request #132 from dengelt/main
Fix Typo
2 parents d383faa + f3486ed commit bbcea74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/builder/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ is a data structure used for representing a sparse matrix. Since graphs can be m
172172
matrix and are typically very sparse, i.e., not all possible pairs of nodes are connected
173173
by an edge, the CSR representation is very well suited for representing a real-world graph topology.
174174

175-
In our current implementation, we use two arrays two model the edges. One array stores the adjacency
175+
In our current implementation, we use two arrays to model the edges. One array stores the adjacency
176176
lists for all nodes consecutively which requires `O(edge_count)` space. The other array stores the
177177
offset for each node in the first array where the corresponding adjacency list can be found which
178178
requires `O(node_count)` space. The degree of a node can be inferred from the offset array.

crates/builder/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
//! matrix and are typically very sparse, i.e., not all possible pairs of nodes are connected
176176
//! by an edge, the CSR representation is very well suited for representing a real-world graph topology.
177177
//!
178-
//! In our current implementation, we use two arrays two model the edges. One array stores the adjacency
178+
//! In our current implementation, we use two arrays to model the edges. One array stores the adjacency
179179
//! lists for all nodes consecutively which requires `O(edge_count)` space. The other array stores the
180180
//! offset for each node in the first array where the corresponding adjacency list can be found which
181181
//! requires `O(node_count)` space. The degree of a node can be inferred from the offset array.

0 commit comments

Comments
 (0)