Skip to content

Commit

Permalink
Merge pull request #1161 from Mv77/plumbing/interp_patch
Browse files Browse the repository at this point in the history
Patch LinearFast after interpolation release
  • Loading branch information
alanlujan91 authored Aug 8, 2022
2 parents a462169 + d729d4e commit d66bd1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HARK/econforgeinterp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .core import MetricObject
from interpolation.splines import eval_linear, UCGrid
from interpolation.splines import eval_linear, CGrid
from interpolation.splines import extrap_options as xto

import numpy as np
Expand Down Expand Up @@ -32,7 +32,7 @@ def __init__(self, f_val, grids, extrap_options=None):
self.dim = len(grids)
self.f_val = f_val
self.grid_list = grids
self.Grid = UCGrid(*grids)
self.Grid = CGrid(*grids)
self.extrap_options = xto.LINEAR if extrap_options is None else extrap_options

def __call__(self, *args):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sphinx-rtd-theme
nbsphinx
seaborn
recommonmark
interpolation
interpolation>=2.2.3
numba
quantecon
pandas
Expand Down

0 comments on commit d66bd1d

Please sign in to comment.