Skip to content

Commit 7db4e47

Browse files
committed
FIX: curse dependency and CGRid dim checks
1 parent 5782534 commit 7db4e47

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

interpolation/splines/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from curses import A_ALTCHARSET
21
from .splines import CubicSpline, CubicSplines
32
from .multilinear import LinearSpline, LinearSplines
43
from .eval_splines import options, eval_linear, eval_cubic, eval_spline
@@ -25,7 +24,7 @@ def CGrid(*args):
2524
for a in args:
2625
if isinstance(a, np.ndarray):
2726
assert a.ndim == 1
28-
assert a.shape[0] > 2
27+
assert a.shape[0] >= 2
2928
elif numba.typeof(a) == tt:
3029
min, max, n = a
3130
assert min < max

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ maintainers = [
1414
license = "BSD-2-Clause"
1515

1616
[tool.poetry.dependencies]
17-
python = ">=3.7, <3.11"
17+
python = ">=3.7, <3.10"
1818
numba = ">=0.47"
1919
numpy = "^1.18.1"
2020
tempita = "^0.5.2"

0 commit comments

Comments
 (0)