Fixed median class
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Stats {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** get the median of all added values */
|
/** get the median of all added values */
|
||||||
float get() const {
|
Scalar get() const {
|
||||||
|
|
||||||
// sanity check
|
// sanity check
|
||||||
Assert::isNot0(sorted.size(), "add elements first!");
|
Assert::isNot0(sorted.size(), "add elements first!");
|
||||||
|
|||||||
Reference in New Issue
Block a user