From 91e3a6d08e7a7155213548955bec8c4826b047e6 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Fri, 5 Jan 2024 05:10:24 +0100 Subject: [PATCH] fix unbound type parameter --- src/larray.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/larray.jl b/src/larray.jl index 5142621..c631086 100644 --- a/src/larray.jl +++ b/src/larray.jl @@ -367,8 +367,8 @@ For example: B = ABCD(1,2,3,4); B2 = SLArray(B; c=30 ) """ -function SLArray(v1::Union{SLArray{S, T, N, L, Syms}, LArray{T, N, D, Syms}}; - kwargs...) where {S, T, N, L, Syms, D} +function SLArray(v1::SLArray{S, T, N, L, Syms}; + kwargs...) where {S, T, N, L, Syms} t2 = merge(convert(NamedTuple, v1), values(kwargs)) SLArray{S}(t2) end