]> AND Private Git Repository - loba.git/blobdiff - cost_func.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Improve help message.
[loba.git] / cost_func.h
index 57d1188ddbbdde9c7ee02687f44cadcda1c81eba..ed97dcf028b207de51e8e4d484081fe0470c0601 100644 (file)
@@ -6,7 +6,7 @@
 
 class cost_func {
 public:
-    cost_func(const char *param);
+    cost_func(const charparam);
     ~cost_func();
     cost_func& operator=(const cost_func& ref);
 
@@ -14,7 +14,7 @@ public:
     std::string to_string();
 private:
     int degree;
-    double *factor;
+    doublefactor;
 };
 
 #endif // !COST_FUNC_H