Skip to content

Commit

Permalink
added missing padding in python demos
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinary-slim committed Oct 2, 2024
1 parent a969271 commit d74582f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/demo/demo_static-condensation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d74582f

Please sign in to comment.