Skip to content

Commit

Permalink
fix unbound type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Jan 5, 2024
1 parent 8013480 commit 91e3a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/larray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Check warning on line 370 in src/larray.jl

View check run for this annotation

Codecov / codecov/patch

src/larray.jl#L370

Added line #L370 was not covered by tests
kwargs...) where {S, T, N, L, Syms}
t2 = merge(convert(NamedTuple, v1), values(kwargs))
SLArray{S}(t2)
end
Expand Down

0 comments on commit 91e3a6d

Please sign in to comment.