You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to concatenate a tuple of SVector into an SMatrix, and I'm getting a unbound type parameter error I can't fix. Here's an MWE (here I just use a matrix comprehension to make things simple):
function cat_svector(v::NTuple{M, SVector{N, Float64}}) where {N, M}
return [v[j][i] for i in 1:N, j in 1:M]
end
# special case for when no arguments are provided
cat_svector() = error("no arguments provided")
The special case was attempt to avoid unbound type parameters when no arguments are provided, but that didn't fix the problem.
The text was updated successfully, but these errors were encountered:
I'm attempting to concatenate a tuple of SVector into an SMatrix, and I'm getting a unbound type parameter error I can't fix. Here's an MWE (here I just use a matrix comprehension to make things simple):
The special case was attempt to avoid unbound type parameters when no arguments are provided, but that didn't fix the problem.
The text was updated successfully, but these errors were encountered: