Skip to content

Commit

Permalink
Use argument names for optional arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Oct 15, 2024
1 parent 7c74a5b commit ba428ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/dolfinx/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ def create_unit_interval(
Returns:
A unit interval mesh with end points at 0 and 1.
"""
return create_interval(comm, nx, [0.0, 1.0], dtype, gdim, ghost_mode, partitioner)
return create_interval(
comm, nx, [0.0, 1.0], dtype=dtype, gdim=gdim, ghost_mode=ghost_mode, partitioner=partitioner
)


def create_rectangle(
Expand Down

0 comments on commit ba428ca

Please sign in to comment.