Mercurial > hg > qm-dsp
diff maths/Polyfit.h @ 325:31f22daeba64
Fix compiler warnings
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 13 Jun 2013 10:23:09 +0100 |
parents | 9aedf5ea8c35 |
children | f4bb0bce64d4 |
line wrap: on
line diff
--- a/maths/Polyfit.h Tue Feb 12 17:46:47 2013 +0000 +++ b/maths/Polyfit.h Thu Jun 13 10:23:09 2013 +0100 @@ -124,7 +124,7 @@ std::cerr << "ERROR: PolyFit called with less than two points" << std::endl; return 0; } - if(npoints != y.size()) { + if(npoints != (int)y.size()) { std::cerr << "ERROR: PolyFit called with x and y of unequal size" << std::endl; return 0; }