From 0c8a05b79175389b173c9dd5c504ef0ae1090cce Mon Sep 17 00:00:00 2001 From: Umberto Zerbinati Date: Tue, 30 Jan 2024 11:47:59 +0300 Subject: [PATCH] Fix linting Signed-off-by: Umberto Zerbinati --- ngsPETSc/plex.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ngsPETSc/plex.py b/ngsPETSc/plex.py index c82a316..fd50d06 100644 --- a/ngsPETSc/plex.py +++ b/ngsPETSc/plex.py @@ -187,7 +187,8 @@ def createPETScDMPlex(self, mesh): else: plex = PETSc.DMPlex().createFromCellList(3, np.zeros((0, 4), dtype=np.int32), - np.zeros((0, 3), dtype=np.double), comm=comm) + np.zeros((0, 3), dtype=np.double), + comm=comm) self.petscPlex = plex elif self.ngMesh.dim == 2: if comm.rank == 0: @@ -209,5 +210,6 @@ def createPETScDMPlex(self, mesh): else: plex = PETSc.DMPlex().createFromCellList(2, np.zeros((0, 3), dtype=np.int32), - np.zeros((0, 2), dtype=np.double), comm=comm) + np.zeros((0, 2), dtype=np.double), + comm=comm) self.petscPlex = plex