File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414
1515"""
1616 supports_autoenzyme(geometry::Geometry)
17- supports_autoenzyme(type::Type{<:Geometry })
17+ supports_autoenzyme(type::Type{<:GeometryOrDomain })
1818
1919Return whether a geometry or geometry type has a parametric function that can be
2020differentiated with Enzyme. See GitHub Issue #154 for more information.
@@ -25,7 +25,7 @@ function supports_autoenzyme end
2525supports_autoenzyme (:: Type{<:Any} ) = false
2626
2727# If provided a geometry instance, re-run with the type as argument
28- supports_autoenzyme (:: G ) where {G <: Geometry } = supports_autoenzyme (G)
28+ supports_autoenzyme (:: G ) where {G <: Meshes.GeometryOrDomain } = supports_autoenzyme (G)
2929
3030"""
3131 _check_diff_method_support(::Geometry, ::DifferentiationMethod) -> nothing
You can’t perform that action at this time.
0 commit comments