adding lines to test until it breaks
@@ -15,8 +15,8 @@ def test_coalmining():
with kn.Model() as m:
m.switchpoint = kn.UniformInt(int(start_year), int(end_year + 1))
- # m.early_rate = kn.Exponential(1.0)
- # m.late_rate = kn.Exponential(1.0)
+ m.early_rate = kn.Exponential(1.0)
+ m.late_rate = kn.Exponential(1.0)
# m.years = np.array(data.index)
# m.rates = kn.DoubleIf([1, 1], m.switchpoint > m.years, m.early_rate, m.late_rate)
