We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef97da3 commit c405c8dCopy full SHA for c405c8d
pymc3/tests/test_ode.py
@@ -331,9 +331,6 @@ def system(y, t, p):
331
assert idata.posterior["y0"].shape == (1, 100)
332
assert idata.posterior["sigma"].shape == (1, 100)
333
334
- @pytest.mark.xfail(
335
- condition=IS_WINDOWS, reason="https://github.com/pymc-devs/aesara/issues/390"
336
- )
337
def test_vector_ode_1_param(self):
338
"""Test running model for a vector ODE with 1 parameter"""
339
@@ -363,8 +360,8 @@ def system(y, t, p):
363
360
ode_model = DifferentialEquation(func=system, t0=0, times=times, n_states=2, n_theta=1)
364
361
365
362
with pm.Model() as model:
366
- R = pm.Lognormal("R", 1, 5)
367
- sigma = pm.HalfCauchy("sigma", 1, shape=2)
+ R = pm.Lognormal("R", 1, 5, initval=1)
+ sigma = pm.HalfCauchy("sigma", 1, shape=2, initval=[0.5, 0.5])
368
forward = ode_model(theta=[R], y0=[0.99, 0.01])
369
y = pm.Lognormal("y", mu=pm.math.log(forward), sd=sigma, observed=yobs)
370
0 commit comments