X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=include%2FPredictorWrapper.h;h=41f818f9e945b9fad97a79c6e08e865b56833c09;hb=b5f0328f4054d19fcf8a6b870d5448be8087d29c;hp=9ceb21ac29e4f1c95f17b7867a4f4064c9dc7feb;hpb=3aa517d206c44156fe86697aeadc5f75ea212329;p=trackerpp.git diff --git a/include/PredictorWrapper.h b/include/PredictorWrapper.h index 9ceb21a..41f818f 100644 --- a/include/PredictorWrapper.h +++ b/include/PredictorWrapper.h @@ -17,7 +17,7 @@ namespace suanzi { static PredictorWrapperPtr create(const std::string& fname); ~PredictorWrapper(){} void dump(); - double predict(int index, std::vector f); + double predict(int index, const std::vector& f); private: PredictorWrapper(const std::string& fname);