Skip to content

Commit 32225d3

Browse files
Define divergence_result_type for missing case (#2210)
Apply suggestion
1 parent 39f3748 commit 32225d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geometry/conversions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ Required for statically infering the result type of the divergence operation for
538538
# this isn't quite right: it only is true when the Christoffel symbols are zero
539539
@inline divergence_result_type(
540540
::Type{Axis2Tensor{FT, Tuple{A1, A2}, S}},
541-
) where {FT, A1, A2 <: LocalAxis, S <: StaticMatrix{S1, S2}} where {S1, S2} =
541+
) where {FT, A1, A2 <: AbstractAxis, S <: StaticMatrix{S1, S2}} where {S1, S2} =
542542
AxisVector{FT, A2, SVector{S2, FT}}
543543

544544
"""

0 commit comments

Comments
 (0)