-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Use generic math to dedup Enumerable.Sum/Average #68226
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
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-linq Issue Detailsnull
|
dakersnar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, very cool how clean this is compared to the old version. It seems to me that there are casting inconsistencies for the Sum float operations, unless I'm missing something.
02e16b2 to
ac4eb9b
Compare
tannergooding
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct to me.
dakersnar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the clarifications and fix.
* Use generic math in Enumerable.Sum/Average * Address PR feedback
No description provided.