(xs, arg, fn)
| 706 | # Coerce depth and boundary arguments to lists of individual |
| 707 | # specifications for each array argument |
| 708 | def coerce(xs, arg, fn): |
| 709 | if not isinstance(arg, list): |
| 710 | arg = [arg] * len(xs) |
| 711 | return [fn(x.ndim, a) for x, a in zip(xs, arg)] |
| 712 | |
| 713 | depth = coerce(args, depth, coerce_depth) |
| 714 | boundary = coerce(args, boundary, coerce_boundary) |
no test coverage detected
searching dependent graphs…