Commit 6861616
throw ArgumentError on transitiveclosure!(::MetaGraph) (#90)
* throw ArgumentError on transitiveclosure!(::MetaGraph)
previously, this would not return an error but would not update the underlying graph structure.
Note: simply calling `transitiveclosure!(G.graph)` also fails as this does not update the metadata, e.g. `G.edge_data`.
* add selflooped opt arg
* add test
* Update src/metagraph.jl
Co-authored-by: Guillaume Dalle <[email protected]>
---------
Co-authored-by: Guillaume Dalle <[email protected]>1 parent 1ea0c41 commit 6861616
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
0 commit comments