Skip to content

Commit

Permalink
arb offset
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-isaacs committed Dec 18, 2024
1 parent 81a97e5 commit f5a01f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vortex-array/src/array/arbitrary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fn random_list_offset<O: PrimInt + NativePType>(
n: &Nullability,
) -> Result<ArrayData> {
let list_len = u.int_in_range(0..=20)?;
let mut builder = ListBuilder::<u64>::with_capacity(ldt.clone(), *n, 1);
let mut builder = ListBuilder::<O>::with_capacity(ldt.clone(), *n, 1);
for _ in 0..list_len {
if matches!(n, Nullable) || u.arbitrary::<bool>()? {
let elem_len = u.int_in_range(0..=20)?;
Expand Down

0 comments on commit f5a01f1

Please sign in to comment.