Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
version:
- '1'
- '1.6'
- 'pre'
os:
- ubuntu-latest
- macos-latest
Expand Down
8 changes: 4 additions & 4 deletions src/SimpleGraphs/generators/randgraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ julia> using Graphs
julia> erdos_renyi(10, 0.5)
{10, 20} undirected simple Int64 graph
```
```jldoctest
```
julia> using Graphs

julia> erdos_renyi(10, 0.5, is_directed=true, seed=123)
Expand Down Expand Up @@ -186,7 +186,7 @@ graph with `n` vertices and `ne` edges.
- `seed=nothing`: set the RNG seed.

# Examples
```jldoctest
```
julia> using Graphs

julia> erdos_renyi(10, 30)
Expand Down Expand Up @@ -703,7 +703,7 @@ julia> edges(g) |> collect
Edge 2 => 3
Edge 2 => 4
```
```jldoctest
```
julia> using Graphs

julia> g = static_fitness_model(5, [1, 1, 0.5, 0.1], seed=123)
Expand Down Expand Up @@ -762,7 +762,7 @@ Time complexity is ``\\mathcal{O}(|V| + |E| log |E|)``.
- Goh K-I, Kahng B, Kim D: Universal behaviour of load distribution in scale-free networks. Phys Rev Lett 87(27):278701, 2001.

## Examples
```jldoctest
```
julia> using Graphs

julia> g = static_fitness_model(6, [1, 0.2, 0.2, 0.2], [0.1, 0.1, 0.1, 0.9]; seed=123)
Expand Down
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ tests = [
if VERSION >= v"1.9"
@assert get_pkg_version("JET") >= v"0.8.4"
JET.test_package(
Graphs; target_defined_modules=true, ignore_missing_comparison=true
Graphs;
target_defined_modules=true,
ignore_missing_comparison=true,
mode=:typo, # TODO: switch back to `:basic` once the union split caused by traits is fixed
)
end
end
Expand Down
Loading