From dd67f4de9cec5c6cef60674c9d8845b0c52589fb Mon Sep 17 00:00:00 2001 From: JordiManyer Date: Sun, 6 Aug 2023 21:16:38 +1000 Subject: [PATCH] Bugfix: incorrect order for LocalIndices() args --- src/Geometry.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Geometry.jl b/src/Geometry.jl index 3619a043..53f0d9f7 100644 --- a/src/Geometry.jl +++ b/src/Geometry.jl @@ -301,7 +301,7 @@ 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 @@ -309,7 +309,7 @@ function Geometry.DiscreteModel( # 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