1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

define length and change_pow only for concrete subtypes of GSymbol

This commit is contained in:
kalmar 2017-05-11 17:47:15 +02:00
parent 1c7113932d
commit 711d7dec12

View File

@ -22,9 +22,6 @@ doc"""
abstract GSymbol
length(s::GSymbol) = (s.pow == 0 ? 0 : 1)
change_pow(s::GSymbol, n::Int) = throw(ArgumentError("Define change_pow function for $(typeof(s))!"))
symbols::Vector{T}
savedhash::UInt