Skip to content

Commit 81f6b80

Browse files
siriakCopilot
andauthored
Update graph_algorithms/prim_mst.r
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 41025d4 commit 81f6b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graph_algorithms/prim_mst.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ print_mst <- function(mst, graph = NULL) {
135135
if (mst$num_edges == expected_edges) {
136136
cat(sprintf("✓ MST has correct number of edges (%d)\n", expected_edges))
137137
} else {
138-
cat(sprintf("⚠ Warning: MST has %d edges, expected %d (graph may be disconnected)\n",
138+
cat(sprintf("[WARN] MST has %d edges, expected %d (graph may be disconnected)\n",
139139
mst$num_edges, expected_edges))
140140
}
141141
}

0 commit comments

Comments
 (0)