Skip to content

Commit

Permalink
remove float16 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Nov 17, 2023
1 parent 26d814e commit 00c6be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytimetk/utils/memory_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _reduce_memory(
# Iterate over possible float types and find the smallest type that can accomodate the column values
# TODO - NEED TO BE CAREFUL HERE:
# ISSUE #274 - Precision Effects Rounding
for dtype in [np.float16, np.float32, np.float64]:
for dtype in [np.float32, np.float64]:
if c_min > np.finfo(dtype).min and c_max < np.finfo(dtype).max:
data[col] = data[col].astype(dtype)
break
Expand Down

0 comments on commit 00c6be5

Please sign in to comment.