From a46a94a5d4c9085ab7c01f410997ecfe0f7dad0b Mon Sep 17 00:00:00 2001 From: agl-alexglopez Date: Fri, 22 Nov 2024 04:17:20 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20agl-alex?= =?UTF-8?q?glopez/ccc@c3d72075c952ce2808121888ece020c19eebc9b4=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 03a64a2a..0e9862f0 100644 --- a/index.html +++ b/index.html @@ -949,8 +949,10 @@

int alt = cur->dist + cur_v->edges[i].cost;
if (alt < next->dist)
{
-
next->prev_name = cur->cur_name;
-
pq_decrease_w(&costs_pq, &next->pq_elem, { next->dist = alt; });
+
pq_decrease_w(&costs_pq, &next->pq_elem, {
+
next->prev_name = cur->cur_name;
+
next->dist = alt;
+
});
}
}
}