Skip to content

Commit

Permalink
Bugfix: incorrect order for LocalIndices() args
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Aug 6, 2023
1 parent b18be64 commit dd67f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ function Geometry.DiscreteModel(
end |> tuple_of_arrays

partition = map(parts,lcell_to_cell,lcell_to_part) do part, lcell_to_cell, lcell_to_part
LocalIndices(part, ncells, lcell_to_cell, lcell_to_part)
LocalIndices(ncells, part, lcell_to_cell, lcell_to_part)
end

# This is required to provide the hint that the communication
# pattern underlying partition is symmetric, so that we do not have
# to execute the algorithm the reconstructs the reciprocal in the
# communication graph
assembly_neighbors(partition;symmetric=true)

gids = PRange(partition)

models = map(lcell_to_cell) do lcell_to_cell
Expand Down

0 comments on commit dd67f4d

Please sign in to comment.