Skip to content

Commit

Permalink
Merge pull request #52 from gridap/type_annotation_in_adapt
Browse files Browse the repository at this point in the history
Type anotated .adapt(...) function to avoid issues when passing, e.g.,Int64 arrays
  • Loading branch information
amartinhuertas authored Nov 17, 2023
2 parents b91914e + 29f6b82 commit ea6a9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OctreeDistributedDiscreteModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ function _refine_coarsen_balance!(model::OctreeDistributedDiscreteModel{Dc,Dp},
end

function Gridap.Adaptivity.adapt(model::OctreeDistributedDiscreteModel{Dc,Dp},
refinement_and_coarsening_flags::MPIArray{<:Vector};
refinement_and_coarsening_flags::MPIArray{<:Vector{Cint}};
parts=nothing) where {Dc,Dp}

Gridap.Helpers.@notimplementedif parts!=nothing
Expand Down

0 comments on commit ea6a9a0

Please sign in to comment.