Skip to content

Commit 21900ee

Browse files
Fix intermittent integration test
1 parent 28948c1 commit 21900ee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
## Bug Fixes
2323

24+
- [#771](https://github.com/pybop-team/PyBOP/pull/771) - Match naming of `n_sensitivity_samples` and fix intermittent `test_optimisation_f_guessed` test.
2425
- [#737](https://github.com/pybop-team/PyBOP/pull/737) - Sensitivities no longer available for CasadiSolver in Pybamm v25.6 onwards. Updates Hallemans example scripts.
2526
- [#705](https://github.com/pybop-team/PyBOP/pull/705) - Bug fix `fitting_problem.evaulate()` failure return type alongside fixes for Pybamm `v25.4`.
2627
- [#546](https://github.com/pybop-team/PyBOP/pull/546) - Default Pybamm solver to `IDAKLU`, changes required for Pybamm v25.4.1

tests/integration/test_optimisation_options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def test_optimisation_f_guessed(self, f_guessed, cost):
8787
use_f_guessed=f_guessed,
8888
compute_sensitivities=True,
8989
n_sensitivity_samples=3,
90+
allow_infeasible_solutions=False,
9091
)
9192

9293
# Set parallelisation if not on Windows

0 commit comments

Comments
 (0)