Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jun 4, 2024
1 parent 6c0fe22 commit fba1fc0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cubed/core/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,6 @@ def map_blocks(
) -> "Array":
"""Apply a function to corresponding blocks from multiple input arrays."""

if drop_axis is None:
drop_axis = []

# Handle the case where an array is created by calling `map_blocks` with no input arrays
if len(args) == 0:
from cubed.array_api.creation_functions import empty_virtual_array
Expand Down

0 comments on commit fba1fc0

Please sign in to comment.