-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix union
precedence
#22
Comments
Comes up in ITensor/ITensorNetworks.jl#141. |
I would expect |
I could see an argument for giving it a different name (I think the closest function in modern Julia would be |
Basically, the current definition follows more closely to the definition of a graph union as a union of the vertices and edges: https://en.wikipedia.org/wiki/Graph_operations#Binary_operations. |
The precedence of data overwriting in
union
ofDataGraph
s is inconsistent withunion
for other types:compared to:
The text was updated successfully, but these errors were encountered: