From 27b1bbacb69b6370c3dd217e5a2dc4835971b579 Mon Sep 17 00:00:00 2001 From: Rohan Anand <96521078+rohan472000@users.noreply.github.com> Date: Sun, 16 Jul 2023 21:07:51 +0530 Subject: [PATCH] Update newton_raphson.py --- arithmetic_analysis/newton_raphson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arithmetic_analysis/newton_raphson.py b/arithmetic_analysis/newton_raphson.py index 26f9faee8..e83b338ad 100644 --- a/arithmetic_analysis/newton_raphson.py +++ b/arithmetic_analysis/newton_raphson.py @@ -22,7 +22,7 @@ def newton_raphson( 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)) + ... for precision in (10, 100, 1000, 10000)) True >>> newton_raphson("log(x)- 1", 2, 0) Traceback (most recent call last):