From 02d947899f8d9e55b7d1861967d6d0fdeec75c1d Mon Sep 17 00:00:00 2001 From: kalmarek Date: Sun, 25 Mar 2018 19:13:30 +0200 Subject: [PATCH] immutable -> struct --- src/AutGroup.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/AutGroup.jl b/src/AutGroup.jl index e768a96..bf54337 100644 --- a/src/AutGroup.jl +++ b/src/AutGroup.jl @@ -4,30 +4,30 @@ # ############################################################################### -immutable RTransvect +struct RTransvect i::Int j::Int end -immutable LTransvect +struct LTransvect i::Int j::Int end -immutable FlipAut +struct FlipAut i::Int end -immutable PermAut +struct PermAut p::Nemo.Generic.perm{Int8} end -immutable Identity end +struct Identity end -immutable AutSymbol <: GSymbol +struct AutSymbol <: GSymbol str::String pow::Int - typ::Union{RTransvect, LTransvect, FlipAut, PermAut, Identity} + typ::Union{LTransvect, RTransvect, PermAut, FlipAut, Identity} end AutGroupElem = GWord{AutSymbol}