Skip to content

Commit c622d6e

Browse files
fix test
1 parent 3d96d79 commit c622d6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

climada/hazard/tc_tracks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3034,7 +3034,9 @@ def compute_track_density(
30343034
"""
30353035

30363036
limit_ratio: float = 1.12 * 1.1 # record tc speed 112km/h -> 1.12°/h + 10% margin
3037-
time_value: float = tc_track.data[0].time_step[0].values # Type hint for jenkins
3037+
time_value: float = (
3038+
tc_track.data[0].time_step[0].values.astype(float)
3039+
) # Type hint for jenkins
30383040

30393041
if time_value > (res / limit_ratio):
30403042
warnings.warn(

0 commit comments

Comments
 (0)