mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-26 02:20:30 +01:00
set default word_type to Word{UInt8}
This commit is contained in:
parent
75b7d9fab3
commit
6fba013f0b
@ -27,7 +27,7 @@ abstract type AbstractFPGroup <: GroupsCore.Group end
|
|||||||
|
|
||||||
word_type(G::AbstractFPGroup) = word_type(typeof(G))
|
word_type(G::AbstractFPGroup) = word_type(typeof(G))
|
||||||
# the default:
|
# the default:
|
||||||
word_type(::Type{<:AbstractFPGroup}) = Word{UInt16}
|
word_type(::Type{<:AbstractFPGroup}) = Word{UInt8}
|
||||||
|
|
||||||
# the default (results in free rewriting)
|
# the default (results in free rewriting)
|
||||||
rewriting(G::AbstractFPGroup) = alphabet(G)
|
rewriting(G::AbstractFPGroup) = alphabet(G)
|
||||||
|
Loading…
Reference in New Issue
Block a user