def __init__(self, A):
    if (not self._splu):
        raise nx.NetworkXError('LU solver unavailable.')
    self._LU = self._splu(A)
def __init__(self, A):
    if (not self._splu):
        raise nx.NetworkXError('LU solver unavailable.')
    self._LU = self._splu(A)