Skip to content

Commit

Permalink
minor: fix cargo run --release error (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 authored Feb 1, 2022
1 parent b6ace16 commit bacf10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/src/physical_plan/tdigest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ impl TDigest {
}

fn merge_sorted_f64(&self, sorted_values: &[OrderedFloat<f64>]) -> TDigest {
#[cfg(debug_assertions)]
debug_assert!(is_sorted(sorted_values), "unsorted input to TDigest");

if sorted_values.is_empty() {
Expand Down

0 comments on commit bacf10d

Please sign in to comment.