Skip to content

Commit

Permalink
Fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Umberto Zerbinati committed Nov 15, 2023
1 parent fae3ab9 commit fe93e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_fenicsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def test_poisson_netgen():
geo = SplineGeometry()
geo.AddRectangle((0,0),(np.pi,np.pi))
geoModel = ngfx.GeometricModel(geo, MPI.COMM_WORLD)
msh =geoModel.model_to_mesh(hmax=0.1)
V = fem.FunctionSpace(msh, ("Lagrange", 2))
msh = geoModel.model_to_mesh(hmax=0.1)
V = fem.FunctionSpace(msh, ("Lagrange", 2)) #pylint: disable=E1120
facetsLR = mesh.locate_entities_boundary(msh, dim=(msh.topology.dim - 1),
marker=lambda x: np.logical_or(np.isclose(x[0], 0.0),
np.isclose(x[0], np.pi)))
Expand Down

0 comments on commit fe93e80

Please sign in to comment.