diff maths/Polyfit.h @ 102:37449f085a4c

Fix compiler warnings
author Chris Cannam
date Thu, 13 Jun 2013 10:23:09 +0100
parents b4921bfd2aea
children be1fc3a6b901
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;
     }