ITensor / NamedGraphs.jl

Extension of `Graphs.jl` to graphs with named vertices.
MIT License
6 stars 3 forks source link

Extend union to multiple named graphs #49

Closed JoeyT1994 closed 8 months ago

JoeyT1994 commented 8 months ago

Quick PR which extends the union function to work on multiple NamedGraphs,

e.g. union(g1::AbstractNamedGraph, g2::AbstractNamedGraph, g3::AbstractNamedGraph) now works

mtfishman commented 8 months ago

Thanks! Could you add a short test?

JoeyT1994 commented 8 months ago

Sure, I added a test to a relevant existing set