From e4b5c59bd7944e3d3f1f3551be3a7662e5aeadb8 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Wed, 15 Aug 2018 19:08:40 +0200 Subject: [PATCH] fix: use GroupRingElem constructor directly, when no basis is attached --- src/CheckSolution.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CheckSolution.jl b/src/CheckSolution.jl index c5bf853..4cacd1b 100644 --- a/src/CheckSolution.jl +++ b/src/CheckSolution.jl @@ -28,7 +28,7 @@ end function compute_SOS(RG::GroupRing, Q::AbstractArray) result = compute_SOS(RG.pm, Q) - return RG(result) + return GroupRingElem(result, RG) end function augIdproj(Q::AbstractArray{T,2}) where {T<:Real}