Skip to content

Commit 7f5d6ad

Browse files
committed
Fixes
1 parent 71a9c03 commit 7f5d6ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def pytest_ignore_collect(path):
1515
return True
1616
if 'conf.py' in path:
1717
return True
18-
if ver_tup < (3, 7) or ver_tup >= (3, 13) or is_pypy:
18+
if ver_tup <= (3, 7) or ver_tup >= (3, 13) or is_pypy:
1919
# numba does not yet run under pypy
2020
if 'numba' in path:
2121
return True

thermo/utils/tp_dependent_property.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def interpolate_P(self, T, P, name):
485485

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

0 commit comments

Comments
 (0)