From aec140697c69614c7f2344a623f348c2df5774ad Mon Sep 17 00:00:00 2001 From: edmundcrawley Date: Wed, 17 Jun 2020 12:19:59 -0400 Subject: [PATCH 1/2] Bug fix to drawDiscrete These two lines can be run outside the loop, avoiding an error when N 1: From 3f69148cfd3311b26da891f1cb12ba34722a0f7c Mon Sep 17 00:00:00 2001 From: edmundcrawley Date: Wed, 17 Jun 2020 13:54:55 -0400 Subject: [PATCH 2/2] Updates testAggShockMarkovConsumerType due to random number change --- HARK/ConsumptionSaving/tests/test_ConsAggShockModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HARK/ConsumptionSaving/tests/test_ConsAggShockModel.py b/HARK/ConsumptionSaving/tests/test_ConsAggShockModel.py index 4aa2c06f3..8cf28c183 100644 --- a/HARK/ConsumptionSaving/tests/test_ConsAggShockModel.py +++ b/HARK/ConsumptionSaving/tests/test_ConsAggShockModel.py @@ -79,5 +79,5 @@ def test_economy(self): self.economy.AFunc = self.economy.dynamics.AFunc self.assertAlmostEqual(self.economy.AFunc[0].slope, - 1.0921217053006234) + 1.0845554708377696)