Skip to content

statistics.h: update ComputeMedian to prevent modifying input

Lea Vauchier requested to merge bugfix/ComputeMedianWithoutModifyingInput into master

Update ComputeMedian to prevent modifying the input.

This didn't seem to be an issue up to now as in all the occurences, the input vector in not reused after the call to ComputeMedian, but it will become in !14 (merged)

Merge request reports