Comments (5)
Definitely a bug.
from lightgraphs.jl.
OK, I think I fixed it. Can you test with this and other graphs?
from lightgraphs.jl.
@sbromberger Thanks, it worked correctly with v.0.4.0-dev (for the particular graph above).
But with v.0.3.9, I got the following error:
julia> strongly_connected_components(g)
ERROR: type cannot be constructed
in strongly_connected_components at /Users/oyama/.julia/v0.3/LightGraphs/src/connectivity.jl:73
from lightgraphs.jl.
@oyamad - yes - bfsdfs isn't going to work on 0.3 until JuliaLang/Compat.jl#105 is fixed. It's because I'm using Vector{Int}()
to create vectors instead of Int[]
, which is the "old" way.
from lightgraphs.jl.
Looks like we've squashed this bug, so I'll go ahead and close it out. Thanks - feel free to reopen if you continue to see a problem.
from lightgraphs.jl.
Related Issues (20)
- `strongly_connected_components` and `strongly_connected_components_kosaraju` run in quadratic time.
- Topological sort function is missing HOT 2
- [BUG] Experimental.Traversals.topological_sort not working for non-connected sub-graphs HOT 1
- Add topological_sort_by_dfs to documentation HOT 1
- [FR] add core functions HOT 7
- [Contributing] Wilson's, loop erased walks, and normalization constants (Kirchoff/Tutte) HOT 8
- Proposal: Relax restriction on vertex IDs HOT 2
- Both Plots and LightGraphs export "grid" HOT 3
- [BUG] random_configuration_model(n::T, ks::Vector{T}) fails when {T} is not {Int64}
- [BUG] a_star fails on SimpleWeightedDiGraph HOT 3
- Update Plotting Documentation HOT 4
- "undirected" mode for shortest paths with directed graphs
- [BUG] merge_vertices does not merge vertices of star_graph correctly
- Preserve vertex labels after deleting a vertex. HOT 1
- [BUG] mincut gives incorrect results for some SimpleGraphs
- [BUG] HOT 4
- Add JuliaFormatter template
- [BUG] `adjacency_matrix` fails for `SimpleGraph` with self-loops (Julia 1.7) HOT 4
- Use `ismutable`
- autodiff with LightGraphs? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightgraphs.jl.