From 721641341c5b170fe5d26985f63e3e0439dc6bf0 Mon Sep 17 00:00:00 2001 From: Leonardo Pio Francesco Gallina Date: Wed, 13 Dec 2023 20:00:41 +0100 Subject: [PATCH] fix(mathematics): solved BUG011 --- source/BUG/mathematics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/BUG/mathematics.py b/source/BUG/mathematics.py index 6dcf5f2..eaf410b 100644 --- a/source/BUG/mathematics.py +++ b/source/BUG/mathematics.py @@ -89,7 +89,7 @@ def neg_value(a: int) -> int: ''' BUG011: neg_value should return the negation of the value, not the value itself. ''' - result = a + result = -a return result