Skip to content

Commit

Permalink
v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Dec 12, 2022
1 parent 35774fa commit 2575306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dijkstra
version: 0.4.0
version: 0.4.1

authors:
- Anton Maminov <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions src/dijkstra.cr
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ module Dijkstra

return if source == @current_source

@current_source = source

q = Priority::Queue(T).new

@vertices.each do |v|
Expand Down

0 comments on commit 2575306

Please sign in to comment.