diff --git a/python/demo/demo_static-condensation.py b/python/demo/demo_static-condensation.py index 93c7d29d690..b33d91746ac 100644 --- a/python/demo/demo_static-condensation.py +++ b/python/demo/demo_static-condensation.py @@ -183,11 +183,11 @@ def tabulate_A(A_, w_, c_, coords_, entity_local_index, permutation=ffi.NULL): A.assemble() # Create bounding box for function evaluation -bb_tree = geometry.bb_tree(msh, 2) +bb_tree = geometry.bb_tree(msh, 2, 0.0) # Check against standard table value p = np.array([[48.0, 52.0, 0.0]], dtype=np.float64) -cell_candidates = geometry.compute_collisions_points(bb_tree, p) +cell_candidates = geometry.compute_collisions_points(bb_tree, p, 0.0) cells = geometry.compute_colliding_cells(msh, cell_candidates, p).array uc.x.scatter_forward()