Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Aug 18, 2024
1 parent 71a9c03 commit 7f5d6ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def pytest_ignore_collect(path):
return True
if 'conf.py' in path:
return True
if ver_tup < (3, 7) or ver_tup >= (3, 13) or is_pypy:
if ver_tup <= (3, 7) or ver_tup >= (3, 13) or is_pypy:
# numba does not yet run under pypy
if 'numba' in path:
return True
Expand Down
2 changes: 1 addition & 1 deletion thermo/utils/tp_dependent_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def interpolate_P(self, T, P, name):

# Only allow linear extrapolation, but with whatever transforms are specified
# extrapolator = RectBivariateSpline(Ts2_sorted, Ps2_sorted, properties2_sorted.T, kx=1, ky=1, s=0) # interpolation if fill value is missing
extrapolator = RegularGridInterpolator((Ts2_sorted, Ps2_sorted), properties2_sorted.T, method='slinear', fill_value=None, bounds_error=False) # interpolation if fill value is missing
extrapolator = RegularGridInterpolator((Ts2_sorted, Ps2_sorted), properties2_sorted.T, method='linear', fill_value=None, bounds_error=False) # interpolation if fill value is missing
# If more than 5 property points, create a spline interpolation
if len(properties) >= 5:
spline = RectBivariateSpline(Ts2_sorted, Ps2_sorted, properties2_sorted.T, kx=3, ky=3, s=0)
Expand Down

0 comments on commit 7f5d6ad

Please sign in to comment.