Skip to content

Commit

Permalink
Fix graph partitioner
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Dec 3, 2024
1 parent 2606658 commit 382afd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adios4dolfinx/checkpointing.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ def read_mesh_data(

def partitioner(comm: MPI.Intracomm, n, m, topo):
assert len(topo[0]) % (len(partition_graph.offsets) - 1) == 0
return partition_graph
return partition_graph._cpp_object
else:
partitioner = dolfinx.cpp.mesh.create_cell_partitioner(ghost_mode)

Expand Down

0 comments on commit 382afd4

Please sign in to comment.