From f4c7e5665e82beecc9f87af48fd6f3f6c71a9bd2 Mon Sep 17 00:00:00 2001 From: Antoine Marteau Date: Wed, 16 Oct 2024 10:53:23 +1100 Subject: [PATCH] typo indep_components_names fallback --- src/TensorValues/MultiValueTypes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorValues/MultiValueTypes.jl b/src/TensorValues/MultiValueTypes.jl index 71303419e..8f29a4aed 100644 --- a/src/TensorValues/MultiValueTypes.jl +++ b/src/TensorValues/MultiValueTypes.jl @@ -46,7 +46,7 @@ Returns an array of strings containing the component labels in the order they ar If all dimensions of the tensor shape S are smaller than 3, the components should be named with letters "X","Y" and "Z" similarly to the automatic naming of Paraview. Else, if max(S)>3, they are labeled from "1" to "\$dim". """ -function indep_components_names(::Type{MultiValue{S,T,N,L}) where {S,T,N,L} +function indep_components_names(::Type{MultiValue{S,T,N,L}}) where {S,T,N,L} return ["$i" for i in 1:L] end