make EOI a one-liner

This commit is contained in:
kalmar 2017-07-21 17:11:25 +02:00
parent e74b4c49ef
commit 95bc1eaff5
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@ end
(x, tol::Real) = rationalize(BigInt, x, tol=tol)
function EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T)
return Δ*Δ - λ*Δ
end
EOI{T<:Number}(Δ::GroupRingElem{T}, λ::T) = Δ*Δ - λ*Δ
function groupring_square(vect::AbstractVector, elt::GroupRingElem)
zzz = zeros(eltype(vect), length(elt.coeffs))