D27880: Update median calculation

Hy Murveit noreply at phabricator.kde.org
Fri Mar 6 08:27:46 GMT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200306/4ae7d759/attachment.html>


More information about the kde-edu mailing list