Skip to content

Commit

Permalink
self-review:
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jan 23, 2024
1 parent d71216e commit 205d5e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/re_space_view_time_series/src/visualizer_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,16 +469,16 @@ impl Aggregator for MinMaxAggregator {
MinMaxAggregator::MinMax => {
acc_min.value = f64::min(acc_min.value, point.value);
acc_min.attrs.radius = f32::min(acc_min.attrs.radius, point.attrs.radius);
acc_max.value = f64::max(acc_min.value, point.value);
acc_max.attrs.radius = f32::max(acc_min.attrs.radius, point.attrs.radius);
acc_max.value = f64::max(acc_max.value, point.value);
acc_max.attrs.radius = f32::max(acc_max.attrs.radius, point.attrs.radius);
}
MinMaxAggregator::Min => {
acc_min.value = f64::min(acc_min.value, point.value);
acc_min.attrs.radius = f32::min(acc_min.attrs.radius, point.attrs.radius);
}
MinMaxAggregator::Max => {
acc_max.value = f64::max(acc_min.value, point.value);
acc_max.attrs.radius = f32::max(acc_min.attrs.radius, point.attrs.radius);
acc_max.value = f64::max(acc_max.value, point.value);
acc_max.attrs.radius = f32::max(acc_max.attrs.radius, point.attrs.radius);
}
}

Expand Down

0 comments on commit 205d5e3

Please sign in to comment.