Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 172f9c1

Browse files
committed
Fix printing prim's algorithm for list
1 parent 30b6494 commit 172f9c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UndirectedGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ string UndirectedGraph::primsAlgorithmOnList() {
274274

275275
string output = "Minimalne drzewo rozpinajace\n";
276276

277-
output += printMatrix(minimumSpanningTree);
277+
output += printList(minimumSpanningTree);
278278

279279
return output;
280280
}

0 commit comments

Comments
 (0)