Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jan 23, 2024
1 parent e040cc3 commit 5cfbb47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/re_query_cache/src/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ macro_rules! impl_query_archetype_range {
// NOTE: Same logic as what the store does.
if query.range.min <= TimeInt::MIN {
let mut reduced_query = query.clone();
// This is the reduced query corresponding to the timeless part of the data.
// It is inclusive and so it will yield `MIN..=MIN` = `[MIN]`.
reduced_query.range.max = TimeInt::MIN; // inclusive

// NOTE: `+ 2` because we always grab the indicator component as well as the
Expand Down

0 comments on commit 5cfbb47

Please sign in to comment.