1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-26 18:40:29 +01:00

fix: use GroupRingElem constructor directly, when no basis is attached

This commit is contained in:
kalmarek 2018-08-15 19:08:40 +02:00
parent c4a708ec8d
commit e4b5c59bd7

View File

@ -28,7 +28,7 @@ end
function compute_SOS(RG::GroupRing, Q::AbstractArray) function compute_SOS(RG::GroupRing, Q::AbstractArray)
result = compute_SOS(RG.pm, Q) result = compute_SOS(RG.pm, Q)
return RG(result) return GroupRingElem(result, RG)
end end
function augIdproj(Q::AbstractArray{T,2}) where {T<:Real} function augIdproj(Q::AbstractArray{T,2}) where {T<:Real}