Skip to content

Commit 4704971

Browse files
committed
Expressions
Signed-off-by: Nicholas Gates <[email protected]>
1 parent bedf610 commit 4704971

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vortex-array/src/expr/exprs/mask.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl VTable for Mask {
7171
let input = ctx.return_dtype(0)?;
7272
let mask = ctx.return_dtype(1)?;
7373
vortex_ensure!(
74-
&mask == &DType::Bool(Nullability::NonNullable),
74+
mask == DType::Bool(Nullability::NonNullable),
7575
"The mask argument to 'mask' must be a non-nullable boolean array, got {}",
7676
mask
7777
);

vortex-array/src/expr/exprs/not.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl VTable for Not {
7474
child_dtype
7575
);
7676
}
77-
Ok(child_dtype.clone())
77+
Ok(child_dtype)
7878
}
7979

8080
fn evaluate(

0 commit comments

Comments
 (0)