JuliaGraphs / JuliaGraphs/MatrixNetworks.jl
scomponents throws an error on empty graph
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 110
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
This should give something more reasonable
scomponents(erdos_renyi_directed(0,0))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the scomponents entry point and reproduce the issue with scomponents(erdos_renyi_directed(0,0)). Trace how the empty graph is handled and determine the expected non-error result before adding coverage for this case; done means the call gives a reasonable response instead of throwing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100