reinstate test_coal_mining - I've isolated the AppVeyor issue in a separate test now
@@ -15,9 +15,7 @@ def test_coalmining():
m.late_rate = kn.Exponential(1.0)
m.years = np.array(data.index)
- # m.beforeSwitch = m.switchpoint > m.years
- m.rates = m.early_rate # TEMP
- # m.rates = kn.DoubleIf([1, 1], m.beforeSwitch, m.early_rate, m.late_rate)
+ m.rates = kn.DoubleIf([1, 1], m.switchpoint > m.years, m.early_rate, m.late_rate)
m.disasters = kn.Poisson(m.rates)
m.disasters.observe(data.values)
