def test_distance_fail_with_difference_size_ip():
    input_1 = np.matrix([[0, 1 / 3.], [0, 1.]], dtype=np.float32)
    input_3 = np.matrix([[2 / 3., 0], [2 / 3., 2 / 3.], [0, 2 / 3.]], dtype=np.float32)
    try:
        compute_distance(input_1, input_3, 2)
    except:
        pass
    else:
        raise AssertionError("Different size matrices did not trigger error")
dataset/ETHPy150Open SALib/SALib/SALib/tests/test_morris_util.py/test_distance_fail_with_difference_size_ip/original