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:
parent
1c7113932d
commit
711d7dec12
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user