Skip to content

Commit

Permalink
fix bug with construction of facet values with default geometric ip
Browse files Browse the repository at this point in the history
  • Loading branch information
lijas committed Aug 8, 2024
1 parent e67545d commit ab6f0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/splines/bezier_values.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function BezierFacetValues(qr::FacetQuadratureRule, ip::Interpolation, args...;
return BezierFacetValues(Float64, qr, ip, args...; kwargs...)
end
function BezierFacetValues(::Type{T}, qr, ip::Interpolation, ip_geo::ScalarInterpolation; kwargs...) where T
return BezierFacetValues(T, qr, ip, Ferrite.default_geometric_interpolation(ip); kwargs...)
return BezierFacetValues(T, qr, ip, VectorizedInterpolation(ip_geo); kwargs...)
end
function BezierFacetValues(::Type{T}, qr, ip, ip_geo::VectorizedInterpolation = Ferrite.default_geometric_interpolation(ip); kwargs...) where T
return BezierFacetValues(T, qr, ip, ip_geo, Ferrite.ValuesUpdateFlags(ip; kwargs...))
Expand Down

0 comments on commit ab6f0d5

Please sign in to comment.