(depth)
| 426 | y = da.ones(5, dtype="int") |
| 427 | |
| 428 | def run(depth): |
| 429 | return da.map_overlap( |
| 430 | lambda x, y: x.sum() + y.sum(), |
| 431 | x, |
| 432 | y, |
| 433 | depth=depth, |
| 434 | chunks=(0,), |
| 435 | trim=False, |
| 436 | boundary="reflect", |
| 437 | ).compute() |
| 438 | |
| 439 | # Check that the number of elements added |
| 440 | # to arrays in overlap works as expected |
no test coverage detected