Ejemplo n.º 1
0
def test_initialize_x0_with_unsupported_distribution() -> None:
    with pytest.raises(NotImplementedError):
        _initialize_x0({"x": UnsupportedDistribution()})

    with pytest.raises(NotImplementedError):
        _initialize_x0_randomly(np.random.RandomState(1),
                                {"x": UnsupportedDistribution()})
Ejemplo n.º 2
0
def test_initialize_x0_with_unsupported_distribution() -> None:

    with pytest.raises(NotImplementedError):
        _initialize_x0({"x": UnsupportedDistribution()})