(m1, m2, newmask)
| 1747 | |
| 1748 | |
| 1749 | def _recursive_mask_or(m1, m2, newmask): |
| 1750 | names = m1.dtype.names |
| 1751 | for name in names: |
| 1752 | current1 = m1[name] |
| 1753 | if current1.dtype.names is not None: |
| 1754 | _recursive_mask_or(current1, m2[name], newmask[name]) |
| 1755 | else: |
| 1756 | umath.logical_or(current1, m2[name], newmask[name]) |
| 1757 | |
| 1758 | |
| 1759 | def mask_or(m1, m2, copy=False, shrink=True): |
no outgoing calls
no test coverage detected
searching dependent graphs…