From e89d1ddbf151ab5f98b605b45b4166ff81bb942c Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Mon, 11 Mar 2013 15:27:17 +0000 Subject: [PATCH] tell create-ini what factors are being used --- misc/create-ini/FF.h | 2 +- misc/create-ini/Main.cpp | 4 ++-- misc/create-ini/Util.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/create-ini/FF.h b/misc/create-ini/FF.h index 880e810a9..61ae048de 100644 --- a/misc/create-ini/FF.h +++ b/misc/create-ini/FF.h @@ -14,7 +14,7 @@ protected: public: std::vector toks; - std::vector inFactors, outFactors; + Factors inFactors, outFactors; std::string name; std::string path; int index, numFeatures; diff --git a/misc/create-ini/Main.cpp b/misc/create-ini/Main.cpp index 0bf3e6ba6..990702596 100644 --- a/misc/create-ini/Main.cpp +++ b/misc/create-ini/Main.cpp @@ -94,8 +94,8 @@ void ParseFactorsPair(const string &line, vector< pair > &ret) assert(toks.size() == 2); Factors input, output; - input = Tokenize(toks[0], ","); - output = Tokenize(toks[1], ","); + input = Tokenize(toks[0], ","); + output = Tokenize(toks[1], ","); ret.push_back(pair(input, output) ); } diff --git a/misc/create-ini/Util.h b/misc/create-ini/Util.h index 1b587a792..3aa7d3917 100644 --- a/misc/create-ini/Util.h +++ b/misc/create-ini/Util.h @@ -4,7 +4,7 @@ #include #include -typedef std::vector Factors; +typedef std::vector Factors; template inline T Scan(const std::string &input)