mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 02:05:30 +01:00
remove unnecessary ::Bools
This commit is contained in:
parent
2e6cd65d39
commit
9dafd3c09c
@ -177,7 +177,7 @@ function r_multiply!(W::GWord, x; reduced::Bool=true)
|
||||
return W
|
||||
end
|
||||
|
||||
function l_multiply!(W::GWord, x; reduced::Bool=true)
|
||||
function l_multiply!(W::GWord, x; reduced=true)
|
||||
if length(x) > 0
|
||||
unshift!(W.symbols, reverse(x)...)
|
||||
end
|
||||
@ -187,9 +187,9 @@ function l_multiply!(W::GWord, x; reduced::Bool=true)
|
||||
return W
|
||||
end
|
||||
|
||||
r_multiply(W::GWord, x; reduced::Bool=true) =
|
||||
r_multiply(W::GWord, x; reduced=true) =
|
||||
r_multiply!(deepcopy(W),x, reduced=reduced)
|
||||
l_multiply(W::GWord, x; reduced::Bool=true) =
|
||||
l_multiply(W::GWord, x; reduced=true) =
|
||||
l_multiply!(deepcopy(W),x, reduced=reduced)
|
||||
|
||||
(*)(W::GWord, Z::GWord) = r_multiply(W, Z.symbols)
|
||||
|
Loading…
Reference in New Issue
Block a user