mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +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))
|
||||
# the default:
|
||||
word_type(::Type{<:AbstractFPGroup}) = Word{UInt16}
|
||||
word_type(::Type{<:AbstractFPGroup}) = Word{UInt8}
|
||||
|
||||
# the default (results in free rewriting)
|
||||
rewriting(G::AbstractFPGroup) = alphabet(G)
|
||||
|
Loading…
Reference in New Issue
Block a user