Skip to content

Commit

Permalink
fix(mathematics): solved BUG011
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Pio Francesco Gallina authored and Leonardo Pio Francesco Gallina committed Dec 13, 2023
1 parent 7fcacee commit 7216413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/BUG/mathematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 7216413

Please sign in to comment.