Skip to content

Commit

Permalink
facepalm
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Jan 10, 2025
1 parent 1d59945 commit 72d7d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-core/src/series/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ where
T: 'static + PolarsDataType<IsLogical = FalseT>,
{
fn as_mut(&mut self) -> &mut ChunkedArray<T> {
if !self.as_any_mut().is::<T>() {
if !self.as_any_mut().is::<ChunkedArray<T>>() {
panic!(
"implementation error, cannot get ref {:?} from {:?}",
T::get_dtype(),
Expand Down

0 comments on commit 72d7d89

Please sign in to comment.