Commit 7f31ac87 authored by Adam P. Goucher's avatar Adam P. Goucher

Minor change

parent 137a7282
Pipeline #54380420 passed with stages
in 7 minutes and 39 seconds
......@@ -13,7 +13,7 @@ def get_symmetries(rulestring):
validsyms += ["C2_4", "C2_2", "C2_1", "C4_4", "C4_1",
"D2_+2", "D2_+1", "D2_x", "D4_+4", "D4_+2", "D4_+1", "D4_x4", "D4_x1", "D8_4", "D8_1"]
if (re.match('b36?7?8?s0?235?6?7?8?$', rulestring)):
if (re.match('^b0?1?2?3?4?5?6?7?8?s0?1?2?3?4?5?6?7?8?$', rulestring)):
validsyms += ["G1", "H2_+1", "H2_+2"] # GPU symmetries
return validsyms
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