D27880: Update median calculation
Hy Murveit <[email protected]>
| Newsgroups | gmane.comp.kde.education |
|---|---|
| Message-ID | <[email protected]> |
murveit created this revision. murveit added a reviewer: mutlaqja. Herald added a project: KDE Edu. Herald added a subscriber: kde-edu. murveit requested review of this revision. REVISION SUMMARY Simplifies the median calculation, and defends against edge cases that can cause crashes. TEST PLAN Should compute the same results as the previous median, and should not crash. REPOSITORY R321 KStars BRANCH update-median (branched from master) REVISION DETAIL https://phabricator.kde.org/D27880 AFFECTED FILES kstars/fitsviewer/fitshistogram.cpp To: murveit, mutlaqja Cc: kde-edu, narvaez, apol