diff --git a/python/benchmarks/bench_elasticity_edge.py b/python/benchmarks/bench_elasticity_edge.py index dbe663c4..7d2706fc 100644 --- a/python/benchmarks/bench_elasticity_edge.py +++ b/python/benchmarks/bench_elasticity_edge.py @@ -15,7 +15,8 @@ from dolfinx import default_scalar_type from dolfinx.common import Timer, TimingType, list_timings from dolfinx.fem import (Constant, Function, functionspace, dirichletbc, form, - locate_dofs_topological, set_bc) + locate_dofs_topological) +from dolfinx.fem.petsc import set_bc from dolfinx.io import XDMFFile from dolfinx.mesh import (CellType, create_unit_cube, locate_entities_boundary, meshtags)