Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] complexity_n is not of IterationCount type #1709

Merged
merged 2 commits into from
Dec 7, 2023

Conversation

LebedevRI
Copy link
Collaborator

There is no bug here, but it gave me a scare the other day.
It is not incorrect to use IterationCount here,
since it's just an int64_t either way,
but it's wildly confusing. Let's not do that.

LebedevRI and others added 2 commits December 7, 2023 00:08
There is no bug here, but it gave me a scare the other day.
It is not incorrect to use `IterationCount` here,
since it's just an `int64_t` either way,
but it's wildly confusing. Let's not do that.
@dmah42
Copy link
Member

dmah42 commented Dec 7, 2023

nice catch. i completely missed that.

@dmah42 dmah42 merged commit 5056098 into google:main Dec 7, 2023
79 of 80 checks passed
@LebedevRI LebedevRI deleted the typedef branch December 7, 2023 16:07
@LebedevRI
Copy link
Collaborator Author

@dmah42 thank you.

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