Skip to content

Commit

Permalink
Upgrade multiversion (#3396)
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya authored Dec 27, 2022
1 parent 2444994 commit 9a5073a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arrow-arith/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ arrow-data = { version = "29.0.0", path = "../arrow-data" }
arrow-schema = { version = "29.0.0", path = "../arrow-schema" }
chrono = { version = "0.4.23", default-features = false }
half = { version = "2.1", default-features = false }
multiversion = { version = "0.6.1", default-features = false }
multiversion = { version = "0.7.1", default-features = false }
num = { version = "0.4", default-features = false, features = ["std"] }

[dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions arrow-arith/src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ pub fn max_boolean(array: &BooleanArray) -> Option<bool> {
}

/// Helper to compute min/max of [`ArrayAccessor`].
#[multiversion]
#[clone(target = "x86_64+avx")]
#[multiversion(targets("x86_64+avx"))]
fn min_max_helper<T, A: ArrayAccessor<Item = T>, F>(array: A, cmp: F) -> Option<T>
where
F: Fn(&T, &T) -> bool,
Expand Down

0 comments on commit 9a5073a

Please sign in to comment.