complete the metris functions
[trackerpp.git] / include / PredictorWrapper.h
index 9ceb21a..41f818f 100644 (file)
@@ -17,7 +17,7 @@ namespace suanzi {
         static PredictorWrapperPtr create(const std::string& fname);
         ~PredictorWrapper(){}
         void dump();
-        double predict(int index, std::vector<double> f);
+        double predict(int index, const std::vector<double>& f);
 
     private:
         PredictorWrapper(const std::string& fname);