1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-04 18:11:26 +01:00

replace free_reduce! -> freereduce!

This commit is contained in:
kalmarek 2018-04-02 18:19:55 +02:00
parent 3ff1f1897e
commit 3ac9231032
3 changed files with 4 additions and 4 deletions

View File

@ -356,7 +356,7 @@ function reduce!(W::Automorphism)
else
reduced = false
while !reduced
reduced = simplifyperms!(W) && free_reduce!(W)
reduced = simplifyperms!(W) && freereduce!(W)
end
end

View File

@ -150,7 +150,7 @@ function reduce!(W::FPGroupElem)
else
reduced = false
while !reduced
reduced = free_reduce!(W) || replace_all!(W, parent(W).rels)
reduced = freereduce!(W) || replace_all!(W, parent(W).rels)
end
end

View File

@ -115,7 +115,7 @@ function deleteids!(W::GWord)
deleteat!(W.symbols, to_delete)
end
function free_reduce!(W::GWord)
function freereduce!(W::GWord)
reduced = true
for i in 1:length(W.symbols) - 1
if W.symbols[i].pow == 0
@ -139,7 +139,7 @@ function reduce!(W::GWord)
else
reduced = false
while !reduced
reduced = free_reduce!(W)
reduced = freereduce!(W)
end
end