mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 18:49:02 +02:00
Revert "start MinMaxAvg at default, not numeric limit"
This reverts commit 96e9399b89
.
This commit is contained in:
parent
247fad5bfe
commit
fc7a1c31ec
1 changed files with 4 additions and 4 deletions
|
@ -21,16 +21,16 @@ template <typename T>
|
|||
class MinMaxAvg {
|
||||
public:
|
||||
MinMaxAvg()
|
||||
: _min(T()),
|
||||
_max(T()),
|
||||
: _min(std::numeric_limits<T>::max()),
|
||||
_max(std::numeric_limits<T>::min()),
|
||||
_average(0.0),
|
||||
_samples(0),
|
||||
_last(0)
|
||||
{}
|
||||
|
||||
void reset() {
|
||||
_min = T();
|
||||
_max = T();
|
||||
_min = std::numeric_limits<T>::max();
|
||||
_max = std::numeric_limits<T>::min();
|
||||
_average = 0.0;
|
||||
_samples = 0;
|
||||
_last = 0;
|
||||
|
|
Loading…
Reference in a new issue