Skip to content
Snippets Groups Projects
Commit 5824bb06 authored by Radek Hušek's avatar Radek Hušek
Browse files

UnderlayingGraph: make graphs immutable

parent ec6b2602
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ def _init_():
def join_edges(self, b, e1, e2):
g = b.value.copy(immutable=False)
g.add_edge(b.boundary[e1], b.boundary[e2])
yield Boundary(b.boundary, g)
yield Boundary(b.boundary, g.copy(immutable=True))
def project_and_canonize(self, sel, b):
return Boundary(select(sel, b.boundary), b.value)
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment