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 24, 2024
1 parent 96b2685 commit 6e2eb83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 6e2eb83

Please sign in to comment.