From 2c65b33116f09004b8c24fc5451c57afeb6ee27a Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 11 Jul 2023 11:40:53 +0200 Subject: [PATCH] eval() is evil --- arithmetic_analysis/newton_raphson.py | 1 + 1 file changed, 1 insertion(+) diff --git a/arithmetic_analysis/newton_raphson.py b/arithmetic_analysis/newton_raphson.py index aee2f07e5743..b5cf296945bb 100644 --- a/arithmetic_analysis/newton_raphson.py +++ b/arithmetic_analysis/newton_raphson.py @@ -4,6 +4,7 @@ # quickly find a good approximation for the root of a real-valued function from __future__ import annotations +from ast import literal_eval as eval # noqa: A001 from decimal import Decimal from math import * # noqa: F403