1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-25 18:15:29 +01:00

make simplify_perms delete all (id)s

This commit is contained in:
kalmar 2017-01-24 13:06:21 +01:00
parent 7b208584a2
commit 7f810ca65e

View File

@ -100,5 +100,6 @@ function simplify_perms!(W::AutWord)
end
end
end
deleteat!(W.symbols, find(x -> x.pow == 0, W.symbols))
return reduced
end