Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix quadratic time in is_cyclic and topological_sort (fix #263) #266

Merged
merged 3 commits into from
Jul 3, 2023

Conversation

etiennedeg
Copy link
Member

@etiennedeg etiennedeg commented Jun 28, 2023

Fixes #263

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #266 (2562fe0) into master (327740b) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
+ Coverage   97.17%   97.19%   +0.01%     
==========================================
  Files         114      114              
  Lines        6649     6656       +7     
==========================================
+ Hits         6461     6469       +8     
+ Misses        188      187       -1     

src/traversals/dfs.jl Outdated Show resolved Hide resolved
src/traversals/dfs.jl Outdated Show resolved Hide resolved
src/traversals/dfs.jl Show resolved Hide resolved
src/traversals/dfs.jl Show resolved Hide resolved
src/traversals/dfs.jl Show resolved Hide resolved
src/traversals/dfs.jl Outdated Show resolved Hide resolved
@gdalle gdalle added the bug Something isn't working label Jul 2, 2023
Copy link
Member

@gdalle gdalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me

@gdalle gdalle merged commit 745add6 into JuliaGraphs:master Jul 3, 2023
simonschoelly pushed a commit to simonschoelly/Graphs.jl that referenced this pull request Jul 4, 2023
…aphs#263) (JuliaGraphs#266)

* fix quadratic time in is_cyclic and topological_sort

* Add comments

* renaming queue to stack
@etiennedeg
Copy link
Member Author

I introduced a bug ! Pushing a fix ASAP, do not tag a release with this commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible issue with topological_sort_by_dfs
3 participants