mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-09-13 08:25:39 +02: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
|
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}
|
symbols::Vector{T}
|
||||||
savedhash::UInt
|
savedhash::UInt
|
||||||
|
Loading…
Reference in New Issue
Block a user