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

sum of double fields yields int value #13

Open
geepy opened this issue May 26, 2015 · 1 comment
Open

sum of double fields yields int value #13

geepy opened this issue May 26, 2015 · 1 comment

Comments

@geepy
Copy link

geepy commented May 26, 2015

When double fields are used in an aggregation, only the integer part of the values is aggregated, remaining fractions are omitted.
I believe that is because in line 44 of aggregator.cs the sourceItem.GetField method is missing the type parameter and the default resolution gets the wrong type.
Supplying the type paramter fixed the issue on my machine.

@giuliov
Copy link
Collaborator

giuliov commented May 27, 2015

Sounds familiar, probably the fix was applied to another version. Will check

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

No branches or pull requests

2 participants