Skip to content

Commit 04b8961

Browse files
committed
Fix accuracy in maclaurin_series on Python 3.12
1 parent f781e34 commit 04b8961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/maclaurin_series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def maclaurin_sin(theta: float, accuracy: int = 30) -> float:
2323
>>> maclaurin_sin(10, 15)
2424
-0.544021110889369
2525
>>> maclaurin_sin(-10, 15)
26-
0.5440211108893703
26+
0.5440211108893704
2727
>>> maclaurin_sin("10")
2828
Traceback (most recent call last):
2929
...

0 commit comments

Comments
 (0)