diff --git a/src/Utility/SimpleConfig.cpp b/src/Utility/SimpleConfig.cpp index a216e2dd..b3a2f765 100644 --- a/src/Utility/SimpleConfig.cpp +++ b/src/Utility/SimpleConfig.cpp @@ -228,7 +228,7 @@ bool SimpleConfig::GetFloatVector(const string& param, vector& ret) string s = i->second; vector spl = SLR::Split(s, ','); ret.clear(); - for (unsigned i = 0; i < s.size(); i++) + for (unsigned i = 0; i < spl.size(); i++) { try {