(r: int, c: int)
| 632 | rows, cols = out.shape |
| 633 | |
| 634 | def rdeg(r: int, c: int) -> int: |
| 635 | return sum(1 for rr, cc in hex_neighbors(r, c, rows, cols) if out[rr, cc] == 1) |
| 636 | |
| 637 | for _ in range(max(0, int(cfg.river_prune_passes))): |
| 638 | kill = [] |
no test coverage detected