mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 02:18:39 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
aeb42b1e12
commit
064bc8cb88
@ -35,7 +35,7 @@ def newton_raphson(
|
|||||||
"""
|
"""
|
||||||
if precision <= 0:
|
if precision <= 0:
|
||||||
raise ValueError("precision must be greater than zero")
|
raise ValueError("precision must be greater than zero")
|
||||||
|
|
||||||
x = start_point
|
x = start_point
|
||||||
symbol = symbols("x")
|
symbol = symbols("x")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user