ITensor / DataGraphs.jl

A simple graph type with data on the vertices and edges.
MIT License
12 stars 3 forks source link

Add get! function #33

Closed emstoudenmire closed 2 months ago

emstoudenmire commented 2 months ago

Add the get! function and adds a test of both get and get!.

Matt, I think you said something about a conversion being needed, but I reasoned that the Dictionaries library will handle this internally? Or did you mean a conversion of the edge or vertex types?

mtfishman commented 2 months ago

Ideally we would rely on whatever conversion is done by Dictionaries.jl.

emstoudenmire commented 2 months ago

Yes, great. That's what I thought too.

mtfishman commented 2 months ago

Looks good, thanks!