Skip to content
Snippets Groups Projects
Commit b96bb45b authored by Christoph Groth's avatar Christoph Groth
Browse files

fix builder.NoSymmetry.act ;-)

parent aab69bb5
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ class NoSymmetry(Symmetry):
def act(self, element, a, b=None):
if element:
raise ValueError('`element` must be empty for NoSymmetry.')
return a if b is None else (a, b)
def to_fd(self, a, b=None):
return a if b is None else (a, b)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment