

def _is_within(self, point, X, tol=0.01):
    if (True in (np.sqrt(((point - X) ** 2).sum(axis=0)) <= tol)):
        return True
    return False

dataset/ETHPy150Open msmbuilder/osprey/osprey/strategies.py GP._is_within/original