Skip to content

Commit

Permalink
typo indep_components_names fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinemarteau committed Oct 15, 2024
1 parent 0dd67db commit f4c7e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TensorValues/MultiValueTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f4c7e56

Please sign in to comment.