Skip to content

Commit 1f00d5f

Browse files
format and fix typo
1 parent 462d40c commit 1f00d5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LabelledArrays.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ end
5959
Base.NamedTuple(x::Union{LArray, SLArray}) = NamedTuple{symnames(typeof(x))}(x.__x)
6060
@inline Base.reshape(a::SLArray, s::Size) = StaticArrays.similar_type(a, s)(Tuple(a))
6161

62-
function ArrayInterfaceCore.ismutable(::Type{<:LArray{T, N, Syms}}) where {T, N, Syms}
62+
function ArrayInterfaceCore.ismutable(::Type{<:LArray{T, N, D, Syms}}) where {T, N, D, Syms}
6363
ArrayInterfaceCore.ismutable(T)
6464
end
6565
ArrayInterfaceCore.can_setindex(::Type{<:SLArray}) = false
6666

67-
function ArrayInterfaceCore.undefmatrix(x::LArray{T, N, Syms}) where {T, N, Syms}
68-
similar(x.__x,length(Syms),length(Syms))
67+
function ArrayInterfaceCore.undefmatrix(x::LArray{T, N, D, Syms}) where {T, N, D, Syms}
68+
similar(x.__x, length(Syms), length(Syms))
6969
end
7070

7171
function PreallocationTools.get_tmp(dc::PreallocationTools.DiffCache,

0 commit comments

Comments
 (0)