Skip to content

Commit

Permalink
debug_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Oct 17, 2024
1 parent 758d266 commit 4496ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/polars-core/src/series/arithmetic/list_borrowed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ impl NumericListOp {
rhs.len(),
{
let (a, b) = lhs.list_offsets_and_validities_recursive();
assert!(a.iter().all(|x| *x.first() as usize == 0));
debug_assert!(a.iter().all(|x| *x.first() as usize == 0));
(a, b, lhs.clone())
},
{
let (a, b) = rhs.list_offsets_and_validities_recursive();
assert!(a.iter().all(|x| *x.first() as usize == 0));
debug_assert!(a.iter().all(|x| *x.first() as usize == 0));
(a, b, rhs.clone())
},
lhs.rechunk_validity(),
Expand Down

0 comments on commit 4496ece

Please sign in to comment.