mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
reduce is run in *_multiply! don't need to further reduce
This commit is contained in:
parent
9e435188e1
commit
00d92df413
@ -173,7 +173,7 @@ function power_by_squaring{T}(x::GWord{T}, p::Integer)
|
||||
end
|
||||
r_multiply!(y, x.symbols)
|
||||
end
|
||||
return Groups.freegroup_reduce!(y)
|
||||
return y
|
||||
end
|
||||
|
||||
(^)(x::GWord, n::Integer) = power_by_squaring(x,n)
|
||||
|
Loading…
Reference in New Issue
Block a user