Skip to content

Commit

Permalink
Some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JackShiqiLi committed Sep 17, 2019
1 parent ad4a27a commit 5154760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HARK/ConsumptionSaving/ConsLaborModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ def getControls(self):
MPCnow = np.zeros(self.AgentCount) + np.nan
for t in range(self.T_cycle):
these = t == self.t_cycle
cNrmNow[these] = self.solution[t].cFunc(self.bNrmNow[these], self.TranShkNow[these])
MPCnow[these] = self.solution[t].cFunc.derivativeX(self.bNrmNow[these], self.TranShkNow[these])
cNrmNow[these] = self.solution[t].cFunc(self.bNrmNow[these], self.TranShkNow[these]) # assign consumtion values
MPCnow[these] = self.solution[t].cFunc.derivativeX(self.bNrmNow[these], self.TranShkNow[these]) # assign Marginal propensity to consume values (derivative)
self.cNrmNow = cNrmNow
self.MPCnow = MPCnow
return None
Expand Down

0 comments on commit 5154760

Please sign in to comment.