diff --git a/arithmetic_analysis/newton_raphson.py b/arithmetic_analysis/newton_raphson.py index dd852abb4..d7ba801a5 100644 --- a/arithmetic_analysis/newton_raphson.py +++ b/arithmetic_analysis/newton_raphson.py @@ -21,7 +21,8 @@ def newton_raphson( >>> newton_raphson("log(x)- 1", 2) 2.718281828458938 >>> from scipy.optimize import newton - >>> all(newton_raphson("log(x)- 1", 2) == newton("log(x)- 1", 2) for precision in 10, 100, 1000, 10000)) + >>> all(newton_raphson("log(x)- 1", 2) == newton("log(x)- 1", 2) + ... for precision in 10, 100, 1000, 10000)) True >>> newton_raphson("log(x)- 1", 2, 0) Traceback (most recent call last):