Skip to content

Commit

Permalink
Minor fix in Interpolables
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Oct 8, 2024
1 parent 96b036a commit 89a2c49
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CellData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,9 @@ struct DistributedInterpolable{Tx,Ty,A} <: Function
interps::A
function DistributedInterpolable(interps::AbstractArray{<:Interpolable})
Tx,Ty = map(interps) do I
fi = I.uh
trian = get_triangulation(fi)
trian = get_triangulation(I.uh)
x = mean(testitem(get_cell_coordinates(trian)))
return typeof(x), return_type(fi,x)
return typeof(x), return_type(I,x)
end |> tuple_of_arrays
Tx = getany(Tx)
Ty = getany(Ty)
Expand Down

0 comments on commit 89a2c49

Please sign in to comment.