rename parameter S -> T
This commit is contained in:
parent
1c67cdbcea
commit
79d5c7f933
|
@ -53,7 +53,7 @@ function compute_SOS(Q::AbstractArray, RG::GroupRing, l::Int)
|
||||||
return GroupRingElem(result, RG)
|
return GroupRingElem(result, RG)
|
||||||
end
|
end
|
||||||
|
|
||||||
function distance_to_cone{S<:Interval}(elt::GroupRingElem, Q::AbstractArray{S,2}, wlen::Int)
|
function distance_to_cone{T<:Interval}(elt::GroupRingElem, Q::AbstractArray{T,2}, wlen::Int)
|
||||||
SOS = compute_SOS(Q, parent(elt), length(elt.coeffs))
|
SOS = compute_SOS(Q, parent(elt), length(elt.coeffs))
|
||||||
SOS_diff = elt - SOS
|
SOS_diff = elt - SOS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue