mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-04-29 08:52:07 +00:00
[PR #928] [MERGED] Update dijkstra.c #1457
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/928
Author: @IdanBanani
Created: 1/8/2022
Status: ✅ Merged
Merged: 1/11/2022
Merged by: @mishraabhinn
Base:
master← Head:master📝 Commits (1)
32a9874Update dijkstra.c📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
data_structures/graphs/dijkstra.c(+2 -1)📄 Description
in this way valgrind checks will pass and result will stay the same (functions as a static variable), previously it assumed that the stack memory structure will stay the same on the next calls
Description of Change
References
Checklist
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.