Skip to content

Commit

Permalink
Merge pull request #62 from eltithecoder/fix_bug
Browse files Browse the repository at this point in the history
Fix bug019, solved
  • Loading branch information
edoardocolella authored Dec 13, 2023
2 parents eabb96d + ea4240e commit da08f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/BUG/mathematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def example_pr() -> bool:
'''
BUG000: This is an example bug.
'''
result = False
result = True
return result

def add_values(a: int, b: int) -> int:
Expand Down Expand Up @@ -153,7 +153,7 @@ def deg_value(a: float) -> float:
'''
BUG019: deg_value should return the degree of the value, not the radiant.
'''
result = math.radians(a)
result = math.degrees(a)
return result


Expand Down

0 comments on commit da08f2e

Please sign in to comment.