Skip to content

Commit dc74572

Browse files
committed
Fix: Added typehint
1 parent e36a648 commit dc74572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: maths/fast_inverse_sqrt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import struct
77

88

9-
def fastInvSqrt(x):
9+
def fastInvSqrt(x: float) -> float:
1010
"""
1111
Calculate the fast inverse square root of a number.
1212

0 commit comments

Comments
 (0)