mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-25 18:15:29 +01:00
tweak the reduce! constant
This commit is contained in:
parent
5414988e98
commit
6fd89c5a61
@ -225,7 +225,9 @@ end
|
||||
function (F::Automorphism{N})(v::NTuple{N, T}) where {N, T}
|
||||
for (i, f) in enumerate(F.symbols)
|
||||
v = f(v)::NTuple{N, T}
|
||||
i % 5 == 0 && reduce!.(v)
|
||||
if i % 2 == 0
|
||||
freereduce!.(v)
|
||||
end
|
||||
end
|
||||
return v
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user