Skip to content

Commit

Permalink
[Docs] Fix howto/short_lived_entities.md for manually clearing entiti…
Browse files Browse the repository at this point in the history
…es (#4268)

### What
I think there might be a typo in the docs. A particular line needs to be
moved above a comment.
Feel free to close the PR if that is not the case.
  • Loading branch information
rishabh-slamcore authored Nov 20, 2023
1 parent 4fa1c61 commit c2b3ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/howto/short-lived-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ rr.set_time_seconds("time", start_time)
rr.log("short_lived", rr.Tensor(one_second_tensor))
# Associate the following clear with `start_time + 1.0` on the `time` timeline
rr.set_time_seconds("time", start_time + 1.0)
rr.log("short_lived", rr.Clear(recursive=False)) # or `rr.Clear.flat()`
# Set the time back so other data isn't accidentally logged in the future.
rr.set_time_seconds("time", start_time)
rr.log("short_lived", rr.Clear(recursive=False)) # or `rr.Clear.flat()`
```

0 comments on commit c2b3ae0

Please sign in to comment.