Skip to content

Commit a1e46d6

Browse files
Fixing docstring typo
1 parent b25a052 commit a1e46d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parcels/_core/utils/time.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def timedelta_to_float(dt: float | timedelta | np.timedelta64) -> float:
164164

165165

166166
def float_to_datetime(dt: float, time_interval) -> np.datetime64:
167-
"""Convert a float time ( ins seconds from the start of the time_interval) to a datetime"""
167+
"""Convert a float time (in seconds from the start of the time_interval) to a datetime"""
168168
if time_interval:
169169
return np.timedelta64(int(dt), "s") + time_interval.left
170170
else:

0 commit comments

Comments
 (0)