Skip to content

Commit

Permalink
fix vertex range for gnm-directed (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschimek authored Nov 19, 2024
1 parent bda1e97 commit 04481ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kagen/generators/gnm/gnm_directed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void GNMDirected::GenerateEdgeList() {

start_node_ = start_chunk * nodes_per_chunk + std::min(remaining_nodes, start_chunk);
end_node_ = end_chunk * nodes_per_chunk + std::min(remaining_nodes, end_chunk);
num_nodes_ = end_node_ - start_node_ - 1;
num_nodes_ = end_node_ - start_node_;

// Generate chunks
for (SInt i = 0; i < num_chunks; i++)
Expand Down

0 comments on commit 04481ea

Please sign in to comment.