HARK icon indicating copy to clipboard operation
HARK copied to clipboard

No default MrkvArray for π™ΌπšŠπš›πš”πš˜πšŸπ™²πš˜πš—πšœπšžπš–πšŽπš›πšƒπš’πš™πšŽ

Open sbenthall opened this issue 4 years ago β€’ 3 comments

No default MrkvArray parameter for π™ΌπšŠπš›πš”πš˜πšŸπ™²πš˜πš—πšœπšžπš–πšŽπš›πšƒπš’πš™πšŽ,

which cause an error on initialization with π™ΌπšŠπš›πš”πš˜πšŸπ™²πš˜πš—πšœπšžπš–πšŽπš›πšƒπš’πš™πšŽ()

~/projects/econ-ark/HARK/HARK/ConsumptionSaving/ConsMarkovModel.py in updateSolutionTerminal(self)
    763 
    764         # Make replicated terminal period solution: consume all resources, no human wealth, minimum m is 0
--> 765         StateCount = self.MrkvArray[0].shape[0]
    766         self.solution_terminal.cFunc   = StateCount*[self.cFunc_terminal_]
    767         self.solution_terminal.vFunc   = StateCount*[self.solution_terminal.vFunc]

AttributeError: 'MarkovConsumerType' object has no attribute 'MrkvArray'

sbenthall avatar Mar 20 '20 15:03 sbenthall