Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Sep 24, 2024
1 parent 08b467b commit 4142998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/polars-plan/src/plans/aexpr/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@ fn get_arithmetic_field(
(_, Time) | (Time, _) => {
polars_bail!(InvalidOperation: "{} not allowed on {} and {}", op, left_field.dtype, right_type)
},
(List(_), _) if right_type.is_numeric() => try_get_list_super_type(&left_field.dtype, &right_type)?,
(List(_), _) if right_type.is_numeric() => {
try_get_list_super_type(&left_field.dtype, &right_type)?
},
(left, right) => try_get_supertype(left, right)?,
}
},
Expand Down

0 comments on commit 4142998

Please sign in to comment.