Skip to content

Commit

Permalink
Disable unsafe unsigned casts
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jul 24, 2024
1 parent c2b07e5 commit 3830d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndonnx/_core/_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ def _via_i64_f64(
arrays,
int_dtype=dtypes.int64,
float_dtype=dtypes.float64,
use_unsafe_uint_cast=True, # TODO this can cause overflow, we should set it to false and fix all uses
use_unsafe_uint_cast=False, # TODO this can cause overflow, we should set it to false and fix all uses
cast_return=cast_return,
)

Expand Down

0 comments on commit 3830d1a

Please sign in to comment.