Commit 909f1a60 authored by Pablo Piskunow's avatar Pablo Piskunow
Browse files

remove assert, comment on fd

parent 082e5b7d
Pipeline #38228 failed with stages
in 11 minutes and 30 seconds
......@@ -898,12 +898,12 @@ class Builder:
if neighbors:
assert len(neighbors) == 1
neighbor = neighbors[0]
# test if neighbor in fundamental domain
if neighbor in self.H:
self._del_edge(neighbor, site)
if self._out_degree(neighbor) > 1:
neighbor = False
else:
assert not self.symmetry.in_fd(neighbor)
self._del_edge(*tfd(neighbor, site))
if self._out_degree(tfd(neighbor)) > 1:
neighbor = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment