Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Apr 16, 2024
1 parent 8a89faf commit ea9d823
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/partitioning.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using Pkg: Pkg
active_project_dir = dirname(Base.active_project())
using NamedGraphs: NamedGraphs
namedgraphs_pkgdir = pkgdir(NamedGraphs)
Pkg.activate(; temp=true, io=devnull)

Pkg.add("Graphs"; io=devnull)
using Graphs: nv
Pkg.develop("NamedGraphs"; io=devnull)
Pkg.develop(; path=namedgraphs_pkgdir, io=devnull)
using NamedGraphs: named_grid
using NamedGraphs.PartitionedGraphs: PartitionedGraph, partitioned_graph

Expand Down

0 comments on commit ea9d823

Please sign in to comment.