-
Notifications
You must be signed in to change notification settings - Fork 35
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
[Bug] using SumS on a ushort[] throws System.InvalidCastException #18
Comments
Should |
not sure, it looks like it should work, I'll investigate |
|
What would the expected result be a Double ? Decimal ???? |
the result of a sum on ushort should be a ushort, the way it is currently implemented. which, won't typically be useful! probably why linq doesn't support it. |
ok the problem is that a ushort + a ushort = an int32. that's a bunch of grunt work though. |
output type always the same as input type currently, same as linq.
…On Fri, Jul 19, 2019 at 10:11 AM Simon Coghlan ***@***.***> wrote:
What would the expected result be a Double ? Decimal ????
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18?email_source=notifications&email_token=ABD3XZR4UZSJLSUCKOXOQ6DQAHKR7A5CNFSM4IFGOQQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2L5IKI#issuecomment-513266729>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABD3XZQONZFFV4QNGDBSTNDQAHKR7ANCNFSM4IFGOQQQ>
.
|
|
Work done in the pending #20
|
Code:
Exception:
The text was updated successfully, but these errors were encountered: