Skip to content

Commit 69e429d

Browse files
committed
Require NumPy 2
1 parent 8815c8f commit 69e429d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
requires-python = ">=3.10"
2828
dependencies = [
2929
"scipy>=1.4.0,<2",
30-
"numpy>=1,<3",
30+
"numpy>=2,<3",
3131
"sympy>=1,<2",
3232
]
3333

src/fronts/_inverse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ def sorptivity(
227227
if i is None:
228228
i = samples[-1]
229229

230-
return np.trapz(samples - i, o) # type: ignore[return-value]
230+
return np.trapezoid(samples - i, o) # type: ignore[no-any-return]

0 commit comments

Comments
 (0)