Skip to content

Commit d96c532

Browse files
authored
fix elsize
1 parent 8de79b0 commit d96c532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/larray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,5 @@ function Base.vcat(x::LArray, y::LArray)
270270
LArray{(LabelledArrays.symnames(typeof(x))...,LabelledArrays.symnames(typeof(y))...)}(vcat(x.__x,y.__x))
271271
end
272272

273-
Base.elsize(::Type{<:LArray{T}}) where {T} = T
273+
Base.elsize(::Type{<:LArray{T}}) where {T} = sizeof(T)
274274

0 commit comments

Comments
 (0)