HARK icon indicating copy to clipboard operation
HARK copied to clipboard

AttributeError: 'KrusellSmithType' object has no attribute 'MrkvInit'

Open sbenthall opened this issue 4 years ago • 4 comments

The following code:

from HARK.ConsumptionSaving.ConsAggShockModel import KrusellSmithType

agent = KrusellSmithType()
agent.reset()

Produces the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sb/projects/econ-ark/HARK/HARK/ConsumptionSaving/ConsAggShockModel.py", line 944, in reset
    self.initializeSim()
  File "/home/sb/projects/econ-ark/HARK/HARK/ConsumptionSaving/ConsAggShockModel.py", line 950, in initializeSim
    self.MrkvNow = self.MrkvInit
AttributeError: 'KrusellSmithType' object has no attribute 'MrkvInit'

sbenthall avatar Oct 06 '20 20:10 sbenthall