Skip to content

Comments

Check that jitter is not NaN instead of finiteness#843

Merged
seanmonstar merged 1 commit intotower-rs:masterfrom
mathew-horner:nan_jitter
Jan 12, 2026
Merged

Check that jitter is not NaN instead of finiteness#843
seanmonstar merged 1 commit intotower-rs:masterfrom
mathew-horner:nan_jitter

Conversation

@mathew-horner
Copy link
Contributor

Infinities are already covered by the bounds checks on jitter, so checking for finiteness should be redundant. We should only need to check for NaN.

Infinities are already covered by the bounds checks on jitter,
so checking for finiteness is redundant. We should only need to
check for NaN.
Copy link
Collaborator

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seanmonstar seanmonstar merged commit 73febcd into tower-rs:master Jan 12, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants