Fix issue boostpython not stopped by Ctrl+c
[trackerpp.git] / include / PredictorWrapper.h
index fab9497..ac54f73 100644 (file)
@@ -15,8 +15,8 @@ namespace suanzi {
     public:
         static PredictorWrapperPtr create(const std::string& fname);
         ~PredictorWrapper(){}
-        void dump() { this->dump_func(); }
-        void predict() { this->predict_func();}
+        void dump();
+        double predict();
 
     private:
         PredictorWrapper(const std::string& fname);