Merge pull request #4 from kalmarek/fbot/deps

Fix deprecations
This commit is contained in:
kalmarek 2019-03-10 22:24:44 +01:00 committed by GitHub
commit 54d32ce32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -331,7 +331,7 @@ inv(f::AutSymbol) = change_pow(f, -f.pow)
function getperm(s::AutSymbol)
if s.pow != 1
warn("Power for perm_symbol should be never 0!")
@warn("Power for perm_symbol should be never 0!")
return s.fn.perm^s.pow
else
return s.fn.perm

View File

@ -142,7 +142,7 @@ inv(s::FPSymbol) = change_pow(s, -s.pow)
function reduce!(W::FPGroupElem)
if length(W) < 2
deleteat!(W.symbols, find(x -> x.pow == 0, W.symbols))
deleteat!(W.symbols, findall(x -> x.pow == 0, W.symbols))
else
reduced = false
while !reduced

View File

@ -1,4 +1,3 @@
__precompile__()
module Groups
using AbstractAlgebra