From e7a16dfe93eccee2ecbadd177f671b009410d9cb Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Tue, 19 May 2020 18:53:53 +0200 Subject: [PATCH] updated pseudocode --- df.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/df.md b/df.md index 246adda..137ce86 100644 --- a/df.md +++ b/df.md @@ -63,7 +63,7 @@ void dijkstra(graph g, int src, int num, int dist[num], int prev[num]) { dist[src] = 0; // all other distances are INT_MAX prev[src] = -1; // previous node is undefined - queue_init(q, (source, 0)); + queue_init(q, (src, 0)); while (!queue_is_empty(q)) { p = queue_pop(q); -- GitLab