Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hsalehipour committed Oct 18, 2024
1 parent ec68bfc commit 8f869d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlb/operator/boundary_masker/indices_boundary_masker.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def jax_implementation(self, bclist, bc_mask, missing_mask, start_index=None):
start_index = (0,) * dim

domain_shape = bc_mask[0].shape
for bc in reversed(bclist):
for bc in bclist:
assert bc.indices is not None, f"Please specify indices associated with the {bc.__class__.__name__} BC!"
assert bc.mesh_vertices is None, f"Please use MeshBoundaryMasker operator if {bc.__class__.__name__} is imposed on a mesh (e.g. STL)!"
id_number = bc.id
Expand Down

0 comments on commit 8f869d2

Please sign in to comment.