Skip to content

Commit

Permalink
add numpy import
Browse files Browse the repository at this point in the history
  • Loading branch information
akaufman10 authored Sep 18, 2017
1 parent 1d9fd69 commit 42f7d9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ConsumptionSaving/TractableBufferStockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
# contained in the HARK folder.
import sys
import os
import numpy as np
sys.path.insert(0, os.path.abspath('../'))

from HARKcore import AgentType, NullFunc, Solution
Expand Down Expand Up @@ -557,4 +558,4 @@ def getPostStates(self):
diffFunc = lambda m : ExampleType.solution[0].cFunc(m) - MarkovType.cFunc[0][0](m)
print('Difference between the (employed) consumption functions:')
plotFuncs(diffFunc,0,m_upper)


0 comments on commit 42f7d9f

Please sign in to comment.