From 0ac63d2652da6880d38842d2fccfac8a5a9bf875 Mon Sep 17 00:00:00 2001 From: Alan Lujan <alanlujan91@gmail.com> Date: Sat, 27 Feb 2021 20:15:56 -0500 Subject: [PATCH] Update interpolation.py plug in for interpolating lower bound --- HARK/interpolation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/HARK/interpolation.py b/HARK/interpolation.py index 22714b4b5..2ad3e24b7 100644 --- a/HARK/interpolation.py +++ b/HARK/interpolation.py @@ -1038,6 +1038,9 @@ def _evaluate(self, x): + x[out_top] * self.coeffs[self.n, 1] - self.coeffs[self.n, 2] * np.exp(alpha * self.coeffs[self.n, 3]) ) + + y[x == self.x_list.min()] = self.y_list.min() + return y def _der(self, x):