mdbartos/pipedream

Bug with _compute_bandwidth

Opened this issue · 0 comments

Should be:

def _compute_bandwidth(At):
    bandwidth = 0
    for k in range(1, len(At)):
        if np.diag(At, k=k).any():
            bandwidth = k
        else:
            continue
    return bandwidth