Skip to content

Commit

Permalink
fix bug with construction of cell 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 75f5e7e commit e67545d
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 @@ -73,7 +73,7 @@ function BezierCellValues(qr::QuadratureRule, ip::Interpolation, args...; kwargs
return BezierCellValues(Float64, qr, ip, args...; kwargs...)
end
function BezierCellValues(::Type{T}, qr, ip::Interpolation, ip_geo::ScalarInterpolation; kwargs...) where T
return BezierCellValues(T, qr, ip, Ferrite.default_geometric_interpolation(ip); kwargs...)
return BezierCellValues(T, qr, ip, VectorizedInterpolation(ip_geo); kwargs...)
end
function BezierCellValues(::Type{T}, qr, ip, ip_geo::VectorizedInterpolation = Ferrite.default_geometric_interpolation(ip); kwargs...) where T
return BezierCellValues(T, qr, ip, ip_geo, Ferrite.ValuesUpdateFlags(ip; kwargs...))
Expand Down

0 comments on commit e67545d

Please sign in to comment.