Mercurial > hg > qm-dsp
diff maths/CosineDistance.h @ 493:bb78ca3fe7de
Remove "using" from some headers
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 31 May 2019 17:24:50 +0100 |
parents | 701233f8ed41 |
children |
line wrap: on
line diff
--- a/maths/CosineDistance.h Fri May 31 16:55:25 2019 +0100 +++ b/maths/CosineDistance.h Fri May 31 17:24:50 2019 +0100 @@ -18,15 +18,14 @@ #include <vector> #include <math.h> -using std::vector; - class CosineDistance { public: CosineDistance() { } ~CosineDistance() { } - double distance(const vector<double> &v1, const vector<double> &v2); + double distance(const std::vector<double> &v1, + const std::vector<double> &v2); protected: double dist, dDenTot, dDen1, dDen2, dSum1;