Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ classifiers = [
]
requires-python = ">=3.12"
dependencies = [
"diffrax>=0.7,<0.8",
"diffrax>=0.7.2,<0.8",
"equinox>=0.12.1,<0.14",
"interpax>=0.3.13,<0.4",
"jax>=0.8,<0.12",
"numpy>=2.4.1,<3",
"optax>=0.2.4,<0.3",
"optimistix>=0.0.10,<0.1",
"optimistix>=0.0.10,<0.2",
"parametrix>=0.1.4,<0.2",
"scipy>=1.16.1,<2",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_neural/test_grenoblesand.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_grenoble_sand() -> None:

# Reference model and nearly saturated boundary forward solution
D_ref = VanGenuchten(Ks=Ks, alpha=alpha, m=m, theta_range=(0.0, theta_s))
ref = frontx.solve(D_ref, i=0, b=theta_s - 1e-7)
ref = frontx.solve(D_ref, i=0, b=theta_s - 1e-7, itol=1e-6)

# Trainable model: infer Ks and m from the synthetic reference
D_train = VanGenuchten(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_neural/test_validity/test_vangenuchten.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def test_vangenuchten() -> None:
# Forward re-solve with the fitted D and re-check
sol2 = frontx.solve(sol.D, i=theta_i, b=theta_b)
rchisq2 = np.sum((sol2(o) - theta) ** 2 / std**2) / (len(o) - 4)
assert rchisq2 <= 2.9
assert rchisq2 <= 3
Loading