Skip to content

Commit

Permalink
use map for example
Browse files Browse the repository at this point in the history
  • Loading branch information
GregorySchwing committed Aug 12, 2021
1 parent ed018e8 commit fbd2008
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simpleParallel/COO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ void COO::BuildTheExampleCOO(){
addEdgeToMap(5,8,1);
addEdgeToMap(6,9,1);

for (auto & edge : orderedMap)
addEdge(edge.first.first, edge.first.second, edge.second);

size = new_values.size();
// vlog(e)
//sortMyself();
Expand Down

0 comments on commit fbd2008

Please sign in to comment.