Skip to content

Commit

Permalink
Re-add bcast_numpy_array on DOFArray
Browse files Browse the repository at this point in the history
This reverts ee1e2a2
  • Loading branch information
inducer committed Aug 10, 2024
1 parent 21474eb commit ffa34b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meshmode/dof_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
@with_container_arithmetic(
bcast_obj_array=True,
rel_comparison=True,
# Required for compatibility with mirgecom, for now.
# Example usage site:
# https://github.com/illinois-ceesd/mirgecom/blob/f5d0d97c41e8c8a05546b1d1a6a2979ec8ea3554/mirgecom/inviscid.py#L95
# Will complain via warnings in arraycontext. Remove in 2025.
bcast_numpy_array=True,
bitwise=True,
_cls_has_array_context_attr=True)
class DOFArray:
Expand Down

0 comments on commit ffa34b8

Please sign in to comment.