Fix mCount bug in test file
@@ -666,6 +666,12 @@ dict_harmenberg = {
"pLvlInitStd": 0, # Standard deviation of log initial permanent income
"PermGroFacAgg": 1.0, # Aggregate permanent income growth factor
"T_age": None, # Age after which simulated agents are automatically killed
+
+ #Parameters for Transition Matrix Simulation
+ "mMin": .001,
+ "mMax": 20,
+ "mCount": 48,
+ "mFac": 3,
}
@@ -881,11 +887,6 @@ class test_Transition_Matrix_Methods(unittest.TestCase):
example1.cycles = 0
example1.solve()
- example1.mMax = example1.aXtraMax
- example1.mMin = example1.aXtraMin
- example1.mCount = example1.aXtraCount
- example1.mFac = example1.aXtraNestFac
-
example1.define_distribution_grid()
p = example1.dist_pGrid # Grid of permanent income levels
@@ -921,11 +922,6 @@ class test_Jacobian_methods(unittest.TestCase):
Agent = IndShockConsumerType(**dict_harmenberg)
- Agent.mMax = Agent.aXtraMax
- Agent.mMin = Agent.aXtraMin
- Agent.mCount = Agent.aXtraCount
- Agent.mFac = Agent.aXtraNestFac
-
Agent.compute_steady_state()
CJAC_Perm, AJAC_Perm = Agent.calc_jacobian("PermShkStd", 50)
