Skip to content

Add Brent's Method for root finding (numerical analysis) #14289

Add Brent's Method for root finding (numerical analysis)

Add Brent's Method for root finding (numerical analysis) #14289

Triggered via pull request October 1, 2025 18:53
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
ruff
Process completed with exit code 1.
Ruff (F841): maths/brent_method.py#L91
maths/brent_method.py:91:17: F841 Local variable `e` is assigned to but never used
Ruff (PLR1714): maths/brent_method.py#L69
maths/brent_method.py:69:12: PLR1714 Consider merging multiple comparisons: `fc not in (fa, fb)`. Use a `set` if the elements are hashable.
Ruff (UP035): maths/brent_method.py#L1
maths/brent_method.py:1:1: UP035 Import from `collections.abc` instead: `Callable`