Commit c4c126e7874f308bde140c52feb4b477866dcf58
1 parent
7660cc8e
fixed KDE default constructor
Showing
1 changed file
with
1 additions
and
1 deletions
sdk/plugins/quality.cpp
| @@ -79,7 +79,7 @@ struct KDE | @@ -79,7 +79,7 @@ struct KDE | ||
| 79 | double mean, stddev; | 79 | double mean, stddev; |
| 80 | QList<float> bins; | 80 | QList<float> bins; |
| 81 | 81 | ||
| 82 | - KDE() : min(0), max(1) {} | 82 | + KDE() : min(0), max(1), mean(0), stddev(1) {} |
| 83 | KDE(const QList<float> &scores) | 83 | KDE(const QList<float> &scores) |
| 84 | { | 84 | { |
| 85 | Common::MinMax(scores, &min, &max); | 85 | Common::MinMax(scores, &min, &max); |