Skip to content

Commit

Permalink
Update python/cudf/cudf/core/column/decimal.py
Browse files Browse the repository at this point in the history
Co-authored-by: Bradley Dice <[email protected]>
  • Loading branch information
galipremsagar and bdice authored Feb 16, 2022
1 parent bd54b5e commit c12f9f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/cudf/cudf/core/column/decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,7 @@ def _get_decimal_type(lhs_dtype, rhs_dtype, op):
):
if decimal_type.MAX_PRECISION >= lhs_rhs_max_precision:
try:
min_decimal_type = decimal_type(
precision=precision, scale=scale
)
return decimal_type(precision=precision, scale=scale)
except ValueError:
# Call to _validate fails, which means we need
# to try the next dtype
Expand Down

0 comments on commit c12f9f7

Please sign in to comment.