LinearAlgebra.norm is not imported, so it must be specified

This commit is contained in:
kalmarek 2020-04-19 21:49:53 +02:00
parent 91dcaba261
commit 6abca60e8a
No known key found for this signature in database
GPG Key ID: 8BF1A3855328FC15
2 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
name = "GroupRings"
uuid = "0befed6a-bd73-11e8-1e41-a1190947c2f5"
authors = ["Marek Kaluba <kalmar@amu.edu.pl>"]
version = "0.3.1"
version = "0.3.2"
[deps]
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
Groups = "5d8bd718-bd84-11e8-3b40-ad14f4a32557"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

View File

@ -514,7 +514,7 @@ end
length(X::GroupRingElem) = count(!iszero, X.coeffs)
LinearAlgebra.norm(X::GroupRingElem, p::Int=2) = norm(X.coeffs, p)
LinearAlgebra.norm(X::GroupRingElem, p::Int=2) = LinearAlgebra.norm(X.coeffs, p)
aug(X::GroupRingElem) = sum(X.coeffs)