Skip to content

Commit 9833f11

Browse files
committed
Remove unused type variables
1 parent cdfb8d9 commit 9833f11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flatten.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ getndof(x::Tuple{}) = static(0)
1313
getndof(x::NTuple{N,Real}) where N = static(N)
1414
getndof(x::T) where {T} = sum(map(getndof, _fieldvals(x)))
1515
getndof(x::StaticArrays.StaticArray{sz, <:Real}) where sz = static(prod(size(x)))
16-
getndof(x::AbstractArray{<:Real}) where T = prod(size(x))
16+
getndof(x::AbstractArray{<:Real}) = prod(size(x))
1717
# getndof(x::AbstractArray) # ToDo
1818

1919

0 commit comments

Comments
 (0)