From 01071414f72aa72e6d5331ab22a6a0a9e0107b2a Mon Sep 17 00:00:00 2001 From: kalmarek Date: Wed, 9 Jan 2019 16:54:45 +0100 Subject: [PATCH] no need for prefix to fmac!: it is not exported --- src/GroupRings.jl | 8 ++++---- test/runtests.jl | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index d5ef8d5..d8970c9 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -340,7 +340,7 @@ function -(X::GroupRingElem{S}, Y::GroupRingElem{T}) where {S, T} end @doc doc""" - GRfmac!(result::AbstractVector{T}, + fmac!(result::AbstractVector{T}, X::AbstractVector, Y::AbstractVector, pm::Array{Int,2}) where {T<:Number} @@ -354,7 +354,7 @@ end > Use with extreme care! """ -function GRfmac!(result::AbstractVector{T}, +function fmac!(result::AbstractVector{T}, X::AbstractVector, Y::AbstractVector, pm::Array{Int,2}) where {T<:Number} @@ -395,7 +395,7 @@ function GRmul!(result::AbstractVector{T}, z = zero(T) result .= z - return GRfmac!(result, X, Y, pm) + return fmac!(result, X, Y, pm) end @doc doc""" @@ -463,7 +463,7 @@ function *(X::GroupRingElem{T}, Y::GroupRingElem{T}, check::Bool=true) where {T< result = parent(X)(similar(X.coeffs)) result = mul!(result, X, Y) else - result = RGmul!(similar(X.coeffs), X.coeffs, Y.coeffs, parent(X).pm) + result = GRmul!(similar(X.coeffs), X.coeffs, Y.coeffs, parent(X).pm) result = GroupRingElem(result, parent(X)) end return result diff --git a/test/runtests.jl b/test/runtests.jl index 64c0818..ddbb3b2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -234,7 +234,7 @@ using SparseArrays @test Z.coeffs == GroupRings.GRmul!(W.coeffs, X.coeffs, Y.coeffs, RG.pm) == W.coeffs @test (2*X*Y).coeffs == - GroupRings.GRfmac!(W.coeffs, X.coeffs, Y.coeffs, RG.pm) == + GroupRings.fmac!(W.coeffs, X.coeffs, Y.coeffs, RG.pm) == GroupRings.mul!(2, X*Y).coeffs end end