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

getMedian is incorrect for gcc 4.5+ #3601

Closed
stuartcampbell opened this issue Mar 30, 2011 · 1 comment
Closed

getMedian is incorrect for gcc 4.5+ #3601

stuartcampbell opened this issue Mar 30, 2011 · 1 comment
Assignees
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@stuartcampbell
Copy link
Collaborator

The median value returned from the Statistics class in Kernel is incorrect for vector with an even number of members.

The unit test StatisticsTest::testInt32Even() fails, it returns 2.5 for the median rather than 3.5

@stuartcampbell stuartcampbell added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Mantid labels Jun 3, 2015
@stuartcampbell
Copy link
Collaborator Author

This issue was originally trac ticket 2754

@stuartcampbell stuartcampbell self-assigned this Jun 3, 2015
@stuartcampbell stuartcampbell added this to the Iteration 28 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant