add groupname(N::Int) signature

This commit is contained in:
kalmarek 2017-12-21 13:02:00 +01:00
parent 14cfc06b7e
commit 3e1ec02c8c
2 changed files with 16 additions and 11 deletions

View File

@ -72,7 +72,9 @@ end
function groupname(parsed_args)
N = parsed_args["N"]
return "oSAutF$(N)", N
return groupname(N), N
end
groupname(N::Int) = "oSAutF$(N)"
end # of module SAutFNs

View File

@ -105,6 +105,10 @@ function groupname(parsed_args)
p = parsed_args["p"]
X = parsed_args["X"]
return groupname(N, p, X), N
end
function groupname(N, p=0, X=false)
if p == 0
if X
name = "oSL$(N)Z⟨X⟩"
@ -114,8 +118,7 @@ function groupname(parsed_args)
else
name = "oSL$(N)_$p"
end
return name, N
return name
end
end # of module SLNs