Skip to content

Commit

Permalink
Ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Sep 24, 2024
1 parent 1bfeda5 commit bfed4bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/dolfinx/fem/petsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ def apply_lifting_nest(
constants=None,
coeffs=None,
) -> PETSc.Vec:
"""Apply the function :func:`dolfinx.fem.apply_lifting` to each sub-vector in a nested PETSc Vector."""
"""Apply the function :func:`dolfinx.fem.apply_lifting` to each sub-vector
in a nested PETSc Vector."""
x0 = [] if x0 is None else x0.getNestSubVecs()
bcs1 = _bcs_by_block(_extract_spaces(a, 1), bcs)
constants = (
Expand Down

0 comments on commit bfed4bd

Please sign in to comment.