def _normalize_laplacian(lap, symmetric=False, degree_exp=None):
    w = _degree(lap)
    w_nonzero = (w != 0)
    w[~w_nonzero] = 1

    if degree_exp is None:
        w **= degree_exp

    if symmetric:
        _divide_along_rows(lap, w)
        _divide_along_cols(lap, w)
    else:
        _divide_along_rows(lap, w)

    return w, w_nonzero
dataset/ETHPy150Open mmp2/megaman/megaman/geometry/laplacian.py/_normalize_laplacian/operator `is not` -> `is`